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

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.

Parameters

query - IncidentDetailsQuery!: Object which contains data necessary to execute search action

Return
Single<IncidentDetailsResponse!>!: IncidentDetailsResponse's Observable object.

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.

Parameters

query - IncidentDetailsQuery!: The object which contains data necessary to execute search action.

listener - IncidentDetailsResultListener!: The listener which informs the subscriber when search result is available. It contains IncidentDetailsResponse object.