create

fun create(context: Context, apiKey: String, customApiUrl: URL? = null, geopoliticalView: String? = null): ReverseGeocoder

Creates an instance of OnlineReverseGeocoder.

Parameters

context

Android context.

apiKey

API key.

customApiUrl

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

geopoliticalView

The country code in the ISO 3166-1 alpha-3 format; their recommendation on disputed areas should be observed.

Throws