sdk-traffic / com.tomtom.online.sdk.traffic.incidents / NativeIncidentDetailsService

NativeIncidentDetailsService

open class NativeIncidentDetailsService : NativeService<IncidentDetailsResponse!, IncidentDetailsQuery!>

A wrapper for a native object providing access to the Incident Details service. Extends the base class with a Response type returned by the REST service handler of IncidentDetailsResponse and a query passed as IncidentDetailsQuery.

Constructors

<init>

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

Creates an instance of NativeIncidentDetailsService 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(handle: Long, sdkVersion: String!, applicationClientId: String!, applicationClientVersion: String!): Unit

requestSync

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