initialize
Initialize the SDK. Needs to be called once before starting the first navigation, but not again for the next navigation.
Prefer calling this from Application.onCreate(). The initialized state does not survive a process death, and Android can restore the navigation screen directly from recents without running any of your Activities — initializing from the Application covers that case, while initializing from an Activity leaves the restored navigation unable to continue.
Parameters
Your application context. Not used for localization purposes.
The api key you received when purchasing a license to this sdk.
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.
Optional identifier of your own for this device, attached to everything the SDK reports. Provide the id you use in your own systems and we can find a device's records from it when you report a problem. Leave it unset and the SDK reports a random id it generates and stores per installation instead. Use a short, stable, opaque value - it must not contain personal data, since it is transmitted and stored with every report.