initialize

fun initialize(context: Context, apiKey: String, serviceUrl: String = ServiceUrls.NAVIGATION)

Initialize the SDK. Needs to be called once before starting the first navigation, but not again for the next navigation.

Parameters

context

Your application context. Not used for localization purposes.

apiKey

The api key you received when purchasing a license to this sdk.

serviceUrl

Optional URL of the service to use for the SDK. If you need any custom routing configurations, you can contact us to get a custom service URL with customized routing.