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

create

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

Creates new RoutingApi object which will use provided routing api key. It uses default values for routing service endpoint and routing service api version.

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

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

Creates new RoutingApi object which will use provided routing api key. It uses default values for routing service endpoint and routing service api version.

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