Companion

@RestrictToExtendedFlavor(value = [ExternalScope.LIBRARY_GROUP])
object Companion

Holds the create function, which creates an instance of the OnlineSearch.

Functions

Link copied to clipboard
@RestrictToExtendedFlavor(value = [ExternalScope.LIBRARY_GROUP])
fun create(context: Context, apiKey: String, customApiUrl: URL? = null, geopoliticalView: String? = null): Search

Creates an instance of the OnlineSearch.

Inherited functions

Link copied to clipboard
@RestrictToExtendedFlavor(value = [ExternalScope.LIBRARY_GROUP])
fun OnlineSearch.Companion.create(context: Context, apiKey: String, customPoiProviders: List<CustomPoiProvider>, customApiUrl: URL? = null, geopoliticalView: String? = null): Search

Instantiates a Search object utilizing TomTom's online service, with added functionality to incorporate custom POIs into search queries.