IncidentAlert

class IncidentAlert : RouteAlert

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.

Types

Builder
Link copied to clipboard
class Builder(coordinate: Point, distance: Double)
Use to create a new instance.

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.
toBuilder
Link copied to clipboard
fun toBuilder(): IncidentAlert.Builder
Transform this object into a builder to mutate the values.
toString
Link copied to clipboard
open override fun toString(): String
Returns a string representation of the object.

Properties

alertGeometry
Link copied to clipboard
val alertGeometry: RouteAlertGeometry?
optional geometry details of the alert if it has a length
alertType
Link copied to clipboard
val alertType: Int
constant describing the alert type, see RouteAlertType.
coordinate
Link copied to clipboard
val coordinate: Point
location of the alert or its start point in case it has a length
distance
Link copied to clipboard
val distance: Double
distance to this alert since the start of the route
info
Link copied to clipboard
val info: IncidentInfo?
incident alert info.