IncidentNotification

A notification about an incident on the road of the IncidentType type. NOTE: the same instance of IncidentNotification can be emitted many times in a row while the incident is still ahead of the user.

Parameters

id

unique id of incident.

impact

the rate of incident.

isRoadClosed

true if road is closed and no possibility to pass through there. False otherwise.

description

human-readable description of the incident suitable for displaying to the users.

longDescription

detailed description of the incident.

affectedRoadNames

affected road names.

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val id: String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String