registerIndexableDataProviderEngine

abstract fun registerIndexableDataProviderEngine(dataProviderEngine: IndexableDataProviderEngine, executor: Executor, callback: CompletionCallback<Unit>): AsyncOperationTask

Registers engine with this data provider. Allows to keep search index of search engines, associated with this data provider, up-to-date.

Return

an object representing pending completion of the task.

Parameters

dataProviderEngine

engine, associated with this data provider.

executor

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

callback

Callback to handle result.

open fun registerIndexableDataProviderEngine(dataProviderEngine: IndexableDataProviderEngine, callback: CompletionCallback<Unit>): AsyncOperationTask

Registers engine with this data provider. Allows to keep search index of search engines, associated with this data provider, up-to-date.

Return

an object representing pending completion of the task.

Parameters

dataProviderEngine

engine, associated with this data provider.

callback

Callback to handle result, triggered on the main thread.