Gets the estimated delay in seconds caused by the traffic event.
The delay in seconds. Returns -1 if the delay is unknown.
Gets the traffic event description
The description
Get the distance in meters from starting point on current route of the traffic event to the destination.
The distance in meters if a route is available, otherwise 0.
Gets end time (UTC)
The end time if it is available, otherwise null.
Gets the traffic event start point as landmark.
The pair of <Landmark, data locally cached flag>
Checks if event has a sibling on opposite direction
True if the event has a sibling on opposite direction, false otherwise.
Checks if this traffic event is a roadblock.
True if the traffic event is a roadblock.
Return true if the traffic event is a user roadblock
True if the traffic event is a user roadblock, false otherwise.
Gets the length in meters of the road segment affected by the traffic event.
The length in meters.
Gets the traffic event preview URL
The preview URL
Gets start time (UTC)
The start time if it exists, otherwise null.
Gets the traffic event end point as landmark.
The pair of <Landmark, data locally cached flag>
Update the local data needed for 'from' and 'to' landmarks address and description.
The callback that completes with the result of the operation.
Cancel the update request.
Gets the traffic event image
Optionalsize: { height: number; width: number }The size of the image
Optionalformat: ImageFileFormatThe image file format
The traffic event image as Uint8Array or null
ProtectedregisterRegisters an object for auto release. When the object is not used anymore, it will be released automatically from C++.
The pointer ID to register
Staticinit
Route traffic events class