Indexable Data Providers Registry
interface IndexableDataProvidersRegistry
Content copied to clipboard
Experimental API, can be changed or removed in the next SDK releases.
This class allows to add and remove custom data providers to a specific scope of search engines.
Types
Callback
Link copied to clipboard
interface Callback
Content copied to clipboard
Interface definition for a callback to be invoked when IndexableDataProvidersRegistry operation has completed.
Functions
register
Link copied to clipboard
open fun <R : IndexableRecord> register(dataProvider: IndexableDataProvider<R>, priority: Int, callback: IndexableDataProvidersRegistry.Callback): AsyncOperationTask
Content copied to clipboard
Registers provided IndexableDataProvider with all search engines, associated with this registry.
abstract fun <R : IndexableRecord> register(dataProvider: IndexableDataProvider<R>, priority: Int, executor: Executor, callback: IndexableDataProvidersRegistry.Callback): AsyncOperationTask
Content copied to clipboard
Registers provided IndexableDataProvider with all search engines, associated with this registry.
unregister
Link copied to clipboard
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.
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.