create

fun create(context: Context, apiKey: String, timeout: Duration? = null, customApiUrl: URL? = null): 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.

customApiUrl

Custom base URL to be used to execute search API calls.