create

fun create(context: Context, apiKey: String, apiUrl: URL? = null, ndsStore: NdsStore, trafficApi: TrafficApi? = null, configuration: DynamicRoutingConfiguration = DynamicRoutingConfiguration()): DynamicRoutingApi

Creates an instance of HybridDynamicRoutingApi.

Parameters

context

Android context.

apiKey

API key for the online routing API.

apiUrl

Custom URL to be used to execute online routing API calls.

ndsStore

Handle to the onboard map that will be used for onboard routing.

trafficApi

Traffic handle that will be used for onboard routing.

configuration

Configuration for dynamic routing.

Important: This is a Public Preview API. It may be changed or removed at any time.