create
Creates an instance of the OnboardSearchApi.
Parameters
ndsStore
NdsStore that provides access to the onboard map.
fun create(ndsStore: NdsStore, customPoiDataProviders: List<CustomSearchDataProvider<CustomRecord.CustomPoi>>): SearchApi
Creates an instance of the OnboardSearchApi with a custom data provider.
Parameters
ndsStore
NdsStore that provides access to the onboard map.
customPoiDataProviders
Custom data providers for injecting external data into the search engine.