sdk-routing / com.tomtom.online.sdk.routing / NativeMatrixRouting

NativeMatrixRouting

open class NativeMatrixRouting : NativeService<MatrixRoutingResponse!, MatrixRoutingQuery!>

A wrapper for a native object providing access to the Matrix Routing service.

Constructors

<init>

NativeMatrixRouting(server: String!, apiVersion: String!, apiKey: String!, sdkVersion: String!, applicationClientId: String!, applicationClientVersion: String!)

Functions

cancel

open fun cancel(handle: Long): Unit

construct

open fun construct(server: String!, apiVersion: String!, apiKey: String!): Long

destruct

open fun destruct(handle: Long): Unit

initializeAnalytics

open fun initializeAnalytics(nativeHandle: Long, sdkVersion: String!, applicationClientId: String!, applicationClientVersion: String!): Unit

query

open fun query(query: MatrixRoutingQuery!): Single<MatrixRoutingResponse!>!

requestSync

open fun requestSync(handle: Long, queryHandle: Long): MatrixRoutingResponse