create

Creates an instance of the OfflineSearch.

Parameters

ndsStore

NdsStore that provides access to the offline map.


fun create(ndsStore: NdsStore, customPoiDataProviders: List<CustomPoiProvider>? = emptyList()): Search

Creates an instance of the OfflineSearch with a custom data provider.

Important: This is a Public Preview API. It may be changed or removed at any time.

Parameters

ndsStore

NdsStore that provides access to the offline map.

customPoiDataProviders

Custom data providers for injecting external data into the search engine.

IMPORTANT NOTE The geopolitical view used here is same as that used in ndsStore.


fun create(ndsStore: NdsStore, customPoiDataProviders: List<CustomPoiProvider>, personalData: PersonalData): Search

Creates an instance of the OfflineSearch with a custom data provider.

Important: This is a Public Preview API. It may be changed or removed at any time.

IMPORTANT NOTE The geopolitical view used here is same as that used in ndsStore.

Parameters

ndsStore

NdsStore that provides access to the offline map.

customPoiDataProviders

Providers for injecting external customer POIs into the search engine. An empty set means that there are no external POIs.

personalData

PersonalData service which provides access to personal locations.