HootAndCompute
Toggle table of contents
androidJvm
Target filter
androidJvm
Switch theme
Search in API
Skip to content
HootAndCompute
Volt
/
dev.kingssack.volt.util
/
Event
/
AutonomousEvent
/
When
When
data
class
When
(
val
condition
:
(
)
->
Boolean
)
:
Event.AutonomousEvent
<
Any
>
Triggers when
condition
becomes true.
Members
Constructors
When
Link copied to clipboard
constructor
(
condition
:
(
)
->
Boolean
)
Properties
condition
Link copied to clipboard
val
condition
:
(
)
->
Boolean
parameter
Link copied to clipboard
open
override
val
parameter
:
Any
the parameter associated with the event
Functions
should
Trigger
Link copied to clipboard
open
override
fun
shouldTrigger
(
)
:
Boolean