unregister

abstract fun <R : IndexableRecord> unregister(dataProvider: IndexableDataProvider<R>, executor: Executor, callback: IndexableDataProvidersRegistry.Callback): AsyncOperationTask

Unregisters provided IndexableDataProvider from all search engines, associated with this registry.

Return

an object representing pending completion of the task.

See also

Parameters

dataProvider
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

Unregisters provided IndexableDataProvider from all search engines, associated with this registry.

Return

an object representing pending completion of the task.

See also

Parameters

dataProvider
callback

the callback to be invoked on the main thread when dataProvider registering operation has completed.