Incident

class Incident : RoadObject

Incident alert provides information about incidents on a way like congestion, mass transit, etc. More types of incidents see IncidentType.

Parameters

info

incident alert info.

Functions

equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Indicates whether some other object is "equal to" this one.
hashCode
Link copied to clipboard
open override fun hashCode(): Int
Returns a hash code value for the object.
toString
Link copied to clipboard
open override fun toString(): String
Returns a string representation of the object.

Properties

id
Link copied to clipboard
val id: String
id of the road object.
info
Link copied to clipboard
val info: IncidentInfo
incident alert info.
length
Link copied to clipboard
val length: Double?
length of the object, null if the object is point-like.
location
Link copied to clipboard
val location: RoadObjectLocation
location of the road object.
objectType
Link copied to clipboard
val objectType: Int
constant describing the object type, see RoadObjectType.
provider
Link copied to clipboard
val provider: String
provider of the road object