sdk-traffic / com.tomtom.online.sdk.traffic.flow / NativeFlowSegmentDataService

NativeFlowSegmentDataService

open class NativeFlowSegmentDataService : NativeService<FlowSegmentDataResponse!, FlowSegmentDataQuery!>

A wrapper for a native object providing access to the Traffic Flow Segment Data service. Extends the base class with a Response type returned by the REST service handler of FlowSegmentDataResponse and query passed as FlowSegmentDataQuery.

Constructors

<init>

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

Creates an an instance of NativeFlowSegmentedDataService using the provided parameters. Uses a constructor from the base NativeService class.

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

requestSync

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