TriggerEvent

data class TriggerEvent(val nanoTime: Long = System.nanoTime(), val systemTimestamp: Long = System.currentTimeMillis(), val triggerType: TriggerType, val measurement: Int? = null, val run: Int? = null, val measurementStart: Long? = null, val runStart: Long? = null) : SessionEvent

Defines a trigger event indicating a status change.

Parameters

triggerType

Trigger type

Constructors

Link copied to clipboard
constructor(nanoTime: Long = System.nanoTime(), systemTimestamp: Long = System.currentTimeMillis(), triggerType: TriggerType, measurement: Int? = null, run: Int? = null, measurementStart: Long? = null, runStart: Long? = null)

Properties

Link copied to clipboard
val measurement: Int? = null
Link copied to clipboard
val measurementStart: Long? = null
Link copied to clipboard
open override val nanoTime: Long

Current value of the most precise available system timer, in nanoseconds.

Link copied to clipboard
val run: Int? = null
Link copied to clipboard
val runStart: Long? = null
Link copied to clipboard
open override val systemTimestamp: Long

Current time in milliseconds.

Link copied to clipboard

Functions

Link copied to clipboard
open override fun toString(): String