lookupIncident method - TrafficEngine class - traffic library - Dart API
lookupIncident
lookupIncident abstract method
- String originalId,
- TrafficIncidentLookupOptions lookupOptions,
- TrafficIncidentLookupCallback callback
Asynchronously queries for traffic incident by the original id.
See TrafficIncident.originalId for more information.
-
originalIdThe requested incident original id. -
lookupOptionsThe options which are specific for the incident lookup query. -
callbackThe callback object that will be invoked after the incident lookup query. It is always invoked on the main thread.
Returns TaskHandle. Handle that will be used to manipulate the execution of the task.
Implementation
TaskHandle lookupIncident(String originalId, TrafficIncidentLookupOptions lookupOptions, TrafficIncidentLookupCallback callback);