Route Traffic Event
TrafficEvent object
Properties
Affected transport modes
Bounding box of the traffic event.
Description of the traffic event.
Distance in meters from starting point on current route of the traffic event to the destination.
Traffic event class.
Traffic event severity.
Route traffic event start point
Traffic event start point as landmark. If function returns successful but lmk is NULL information is not available. AsyncUpdateLandmarks must be called.
Image of the traffic event. If the traffic event doesn't have an image the Image.isValid will return false
Traffic event preview URL
Traffic event reference point If the traffic event doesn't have a reference point the Coordinates.valid will return false
Route traffic event end point
Traffic event end point as landmark. If function returns successful but lmk is NULL information is not available. AsyncUpdateLandmarks must be called.
Functions
Gets affected transport modes
Updates the "from" and "to" landmarks.
Gets the bounding box of the traffic event.
Cancel a previous call of getPreviewData
Cancel the update of "from" and "to" landmarks. The operation is synchronous, after it returns the update listener will not be used anymore
Gets the description of the traffic event.
Get the traffic preview data as a list of parameters.
Checks if event has a sibling on opposite direction
Gets the image of the traffic event. If the traffic event doesn't have an image the Image.isValid will return false
True if keeps a reference to a C++ SDK object False if keeps a C++ SDK object
Returns true if this traffic event is a roadblock. For roadblocks the delay will return -1.
Return true if the traffic event is a user roadblock
Returns the traffic event preview URL
Returns the traffic event reference point If the traffic event doesn't have a reference point the Coordinates.valid will return false