sdk-routing / com.tomtom.online.sdk.routing / OnlineRoutingApi / create

create

@DeprecatedSince(2020, 6) open static fun create(@NonNull context: Context): RoutingApi!
Deprecated: Deprecated in Java

Creates a new RoutingApi object which will use the provided Routing API Key. It uses the default values for the Routing service endpoint and Routing service API version.

Return
RoutingApi!: Newly created RoutingApi object for further processing.

open static fun create(@NonNull context: Context, @NonNull apiKey: String): RoutingApi!

Creates a new RoutingApi object which will use the provided Routing API Key. It uses the default values for the Routing service endpoint and Routing service API version.

Return
RoutingApi!: Newly created RoutingApi object for further processing.