registerIndexableDataProviderEngineLayer

abstract fun registerIndexableDataProviderEngineLayer(dataProviderEngineLayer: IndexableDataProviderEngineLayer, executor: Executor, callback: CompletionCallback<Unit>): AsyncOperationTask

Experimental API, can be changed or removed in the next SDK releases.

Registers engine layer 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

dataProviderEngineLayer

engine layer, 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 registerIndexableDataProviderEngineLayer(dataProviderEngineLayer: IndexableDataProviderEngineLayer, callback: CompletionCallback<Unit>): AsyncOperationTask

Experimental API, can be changed or removed in the next SDK releases.

Registers engine layer 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

dataProviderEngineLayer

engine layer, associated with this data provider.

callback

Callback to handle result, triggered on the main thread.