BorderCrossingAlertItem

data class BorderCrossingAlertItem(val customAlert: CustomAttributeAlert, val id: Int, val status: AlertStatus, val timeToDest: Int, val distToDest: Int, val alertPos: GeoPoint, val countryCode: String, val dist: Int, val time: Int) : AlertItem

Border crossing alert item containing real-time information about a border crossing.

Remaps TB_BOR_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, countryCode: String, dist: Int, time: Int)

JNI constructor used by native code. DO NOT MODIFY - Used for native bridge instantiation.

constructor(customAlert: CustomAttributeAlert, id: Int, status: AlertStatus, timeToDest: Int, distToDest: Int, alertPos: GeoPoint, countryCode: String, dist: Int, time: Int)

Properties

Link copied to clipboard

Position of the alert item on the route.

Link copied to clipboard

The ISO 3166 Alpha-3 country code of the new country being entered.

Link copied to clipboard

The associated custom attribute alert configuration.

Link copied to clipboard
val dist: Int

Current distance in meters between the vehicle and the alert.

Link copied to clipboard

Distance in meters from the alert's location to the route's destination.

Link copied to clipboard
open override val id: Int

Unique alert item ID.

Link copied to clipboard
open override val status: AlertStatus

Current status of the alert item.

Link copied to clipboard
val time: Int

Current delay in seconds before reaching the alert.

Link copied to clipboard

Time in seconds from the alert's location to the route's destination.