create

fun create(    context: Context,     apiKey: String,     apiUrl: URL? = null): RoutingApi

Creates an instance of RoutingApi.

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

Parameters

context

Android context.

apiKey

API key.

apiUrl

Custom URL to be used to execute Routing API call.