POIAlertItem
data class POIAlertItem(val customAlert: CustomPOIAlert, val id: Int, val status: AlertStatus, val timeToDest: Int, val distToDest: Int, val alertPos: GeoPoint, val form: Form?, val classID: Int, val dist: Int, val time: Int) : AlertItem
POI alert item containing real-time information about a POI 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, form: Form?, classID: 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, form: Form?, classID: Int, 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.