AlertParam

data class AlertParam(val startLimit: Int = 10, val validLimit: Int = 10, val startIsTime: Boolean = true, val validIsTime: Boolean = true)

Alert parameters for attributes or POI alerts.

Remaps TB_ALERT_PARAM class from coresdk.

Constructors

Link copied to clipboard
constructor(startLimit: Int = 10, validLimit: Int = 10, startIsTime: Boolean = true, validIsTime: Boolean = true)

Properties

Link copied to clipboard
val startIsTime: Boolean = true

If true, startLimit is a delay in seconds. If false, startLimit is a distance in meters. Default is true.

Link copied to clipboard
val startLimit: Int = 10

Delay in seconds or distance in meters before the alert's location. Defines when or where to start the alert. Default is 10.

Link copied to clipboard
val validIsTime: Boolean = true

If true, validLimit is a delay in seconds. If false, validLimit is a distance in meters. Default is true.

Link copied to clipboard
val validLimit: Int = 10

Delay in seconds or distance in meters (after reaching startLimit) during which to continue alerting. Default is 10.