create

fun create(context: Context, apiKey: String, timeout: Duration? = null, apiUrl: URL = DEFAULT_TOMTOM_API_URL): ReverseGeocoder

Creates an instance of OnlineReverseGeocoder.

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

Parameters

context

Android context.

apiKey

API key.

timeout

Optional call timeout for online services.

apiUrl

Custom base URL to be used to execute search API calls. When not specified it defaults to DEFAULT_TOMTOM_API_URL.