Traffic Info
Class contains information about traffic on the route. It determines type of incident, delay, etc...
Constructors
TrafficInfo
Link copied to clipboard
open fun TrafficInfo(severity: Int, affectedArea: GeoBoundingBox, id: Int, distance: Int, affectedLength: Int, delay: Int)
Content copied to clipboard
Types
Traffic Severity
Link copied to clipboard
Functions
describe Contents
Link copied to clipboard
For documentation, see android.os.Parcelable.
get Affected Area
Link copied to clipboard
Return the bounding box affecting this event.
get Affected Length
Link copied to clipboard
Returns the full length of the traffic event during tracking or the portion of the route affected by the traffic event during navigation.
get Distance
Link copied to clipboard
Returns the distance from the last callback position to the traffic event.
get Severity
Link copied to clipboard
Returns the severity of the traffic event, from "Normal" to "Blocking".
get Unique Id
Link copied to clipboard
Returns the event unique id.
is Valid Parcelable
Link copied to clipboard
If object after recreate from parcel contains all of reference like original object method return true.
write To Parcel
Link copied to clipboard
For documentation, see android.os.Parcelable.
Properties
CREATOR
Link copied to clipboard