Companion
object Companion
Companion object.
Functions
Link copied to clipboard
Deprecated, use a function that takes ApiType as a parameter.
Creates a new instance of the SearchEngine. A new instance doesn't have any IndexableDataProvider registered by default.
Link copied to clipboard
fun createSearchEngineWithBuiltInDataProviders(settings: SearchEngineSettings, executor: Executor = SearchSdkMainThreadWorker.mainExecutor, callback: CompletionCallback<Unit> = StubCompletionCallback()): SearchEngine
Deprecated, use a function that takes ApiType as a parameter.
fun createSearchEngineWithBuiltInDataProviders(apiType: ApiType, settings: SearchEngineSettings, executor: Executor = SearchSdkMainThreadWorker.mainExecutor, callback: CompletionCallback<Unit> = StubCompletionCallback()): SearchEngine
Creates a new instance of the SearchEngine with default data providers ( com.mapbox.search.record.HistoryDataProvider and com.mapbox.search.record.FavoritesDataProvider) registered by default.