TrafficSignAlertItem
data class TrafficSignAlertItem(val customAlert: CustomPOIAlert, val id: Int, val status: AlertStatus, val timeToDest: Int, val distToDest: Int, val alertPos: GeoPoint, val trafficSign: TrafficSign, val dist: Int, val time: Int) : AlertItem
Traffic sign alert item containing real-time information about a traffic sign alert.
Remaps TB_POI_ALERT_ITEM class from coresdk.
Constructors
Link copied to clipboard
constructor(startLimit: Int, validLimit: Int, startIsTime: Boolean, validIsTime: Boolean, isEnabled: Boolean, repeatAlert: Boolean, internalRef: Long, id: Int, status: Int, timeToDest: Int, distToDest: Int, alertPosX: Double, alertPosY: Double, trafficSign: Int, dist: Int, time: Int)
JNI constructor used by native code. DO NOT MODIFY - Used for native bridge instantiation.
constructor(customAlert: CustomPOIAlert, id: Int, status: AlertStatus, timeToDest: Int, distToDest: Int, alertPos: GeoPoint, trafficSign: TrafficSign, dist: Int, time: Int)
Properties
Link copied to clipboard
The associated custom POI alert configuration.
Link copied to clipboard
Distance in meters from the alert's location to the route's destination.
Link copied to clipboard
Current status of the alert item.
Link copied to clipboard
Time in seconds from the alert's location to the route's destination.
Link copied to clipboard
The type of traffic sign triggering this alert.