create

fun create(context: Context, apiKey: String, apiUri: Uri? = null): RoutePlanner

Creates an instance of RoutePlanner.

Parameters

context

Android context.

apiKey

API key.

apiUri

Custom URL to be used to execute Routing API call. The URL must support all required endpoints.