register
Registers provided IndexableDataProvider with all search engines, associated with this registry. This operation causes search engines to attach search index, constructed from provided data provider's records. The search index can be managed via IndexableDataProviderEngineLayer instance.
Return
an object representing pending completion of the task.
See also
Parameters
IndexableDataProvider to register.
priority of registered dataProvider.
Executor used for events dispatching. By default events are dispatched on the main thread.
the callback to be invoked when dataProvider registering operation has completed.
Registers provided IndexableDataProvider with all search engines, associated with this registry. This operation causes search engines to attach search index, constructed from provided data provider's records. The search index can be managed via IndexableDataProviderEngineLayer instance.
Return
an object representing pending completion of the task.
See also
Parameters
IndexableDataProvider to register.
priority of registered dataProvider.
the callback to be invoked on the main thread when dataProvider registering operation has completed.