CustomAttributeAlert

data class CustomAttributeAlert(val alertParam: AlertParam, val alertOff: Boolean = true, val isEnabled: Boolean, val repeatAlert: Boolean, val internalRef: Long) : CustomAlert

Custom road attribute or border crossing alert configuration.

Remaps TB_CUSTOM_ATT_ALERT struct from coresdk.

Constructors

Link copied to clipboard
constructor(startLimit: Int, validLimit: Int, startIsTime: Boolean, validIsTime: Boolean, alertOff: Boolean, isEnabled: Boolean, repeatAlert: Boolean, internalRef: Long)

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

constructor(alertParam: AlertParam, alertOff: Boolean = true, isEnabled: Boolean, repeatAlert: Boolean, internalRef: Long)

Properties

Link copied to clipboard
val alertOff: Boolean = true

If true, alerts when the attribute turns off. Default is true.

Link copied to clipboard

Alert timing and distance parameters.

Link copied to clipboard
open override val internalRef: Long

Internal address storing the underlying C++ object.

Link copied to clipboard
open override val isEnabled: Boolean

Indicates whether the alert is enabled.

Link copied to clipboard
open override val repeatAlert: Boolean

If true, the alert is triggered repeatedly while valid.