unregister
abstract fun <R : IndexableRecord> unregister(dataProvider: IndexableDataProvider<R>, executor: Executor, callback: IndexableDataProvidersRegistry.Callback): AsyncOperationTask
Content copied to clipboard
Unregisters provided IndexableDataProvider from all search engines, associated with this registry.
Return
an object representing pending completion of the task.
See also
Parameters
dataProvider
IndexableDataProvider to register.
executor
Executor used for events dispatching. By default events are dispatched on the main thread.
callback
the callback to be invoked when dataProvider registering operation has completed.
open fun <R : IndexableRecord> unregister(dataProvider: IndexableDataProvider<R>, callback: IndexableDataProvidersRegistry.Callback): AsyncOperationTask
Content copied to clipboard
Unregisters provided IndexableDataProvider from all search engines, associated with this registry.
Return
an object representing pending completion of the task.
See also
Parameters
dataProvider
IndexableDataProvider to register.
callback
the callback to be invoked on the main thread when dataProvider registering operation has completed.