Detector Model State
data class DetectorModelState(val onEnter: DetectorModelOnEnter? = null, val onExit: DetectorModelOnExit? = null, val onInput: DetectorModelOnInput? = null, val stateName: String)
Information that defines a state of a detector.
Constructors
Link copied to clipboard
constructor(onEnter: DetectorModelOnEnter? = null, onExit: DetectorModelOnExit? = null, onInput: DetectorModelOnInput? = null, stateName: String)
Properties
Link copied to clipboard
When entering this state, perform these `actions` if the `condition` is TRUE.
Link copied to clipboard
When exiting this state, perform these `actions` if the specified `condition` is `TRUE`.
Link copied to clipboard
When an input is received and the `condition` is TRUE, perform the specified `actions`.