open class OnlineTrafficApi : TrafficApi
Main entry point for Traffic API Flow Segment Data and Traffic API Incident Details services.
static val DEFAULT_ONLINE_TRAFFIC_API_VERSION: String
Default TomTom's Traffic API service version. |
|
static val DEFAULT_ONLINE_TRAFFIC_ENDPOINT: String
Default TomTom's Traffic API endpoint. |
open static fun open static fun create(context: Context, apiKey: String!): TrafficApi!
Creates a new TrafficApi object which will use the provided Traffic API Key. It uses default values for the Traffic API service endpoint and API version. |
|
open fun findFlowSegmentData(query: FlowSegmentDataQuery!): Single<FlowSegmentDataResponse!>! open fun findFlowSegmentData(query: FlowSegmentDataQuery!, listener: FlowSegmentDataResultListener!): Unit |
|
open fun findIncidentDetails(query: IncidentDetailsQuery!): Single<IncidentDetailsResponse!>! open fun findIncidentDetails(query: IncidentDetailsQuery!, listener: IncidentDetailsResultListener!): Unit |
|
open fun getResultScheduler(): Scheduler |
|
open fun getWorkingScheduler(): Scheduler |