unregisterDataProvider

abstract fun <R : IndexableRecord> unregisterDataProvider(dataProvider: IndexableDataProvider<R>, executor: Executor, callback: CompletionCallback<Unit>): AsyncOperationTask

Unregisters previously registered IndexableDataProvider.

Return

an object representing pending completion of the task.

Parameters

dataProvider

IndexableDataProvider to unregister.

executor

Executor used for events dispatching. By default events are dispatched on the main thread.

callback

Callback to handle result.

open fun <R : IndexableRecord> unregisterDataProvider(dataProvider: IndexableDataProvider<R>, callback: CompletionCallback<Unit>): AsyncOperationTask

Unregisters previously registered IndexableDataProvider.

Return

an object representing pending completion of the task.

Parameters

dataProvider

IndexableDataProvider to unregister.

callback

Callback to handle result. Events are dispatched on the main thread.