sdk-traffic / com.tomtom.online.sdk.traffic.api.incident.details / IncidentDetailsApi

IncidentDetailsApi

interface IncidentDetailsApi

Contains public API methods of Traffic Incident Details service.

Functions

findIncidentDetails

abstract fun findIncidentDetails(query: IncidentDetailsQuery!): Single<IncidentDetailsResponse!>!

Performs reactive search action based on provided IncidentDetailsQuery object and returns the result to Observers subscribed to returned Observable.

abstract fun findIncidentDetails(query: IncidentDetailsQuery!, listener: IncidentDetailsResultListener!): Unit

Performs search action based on provided IncidentDetailsQuery object and returns the result with usage of IncidentDetailsResultListener implementation.

Inheritors

TrafficApi

interface TrafficApi : FlowSegmentDataApi, IncidentDetailsApi, RxContext

Defines Traffic API main object.