Skip to content

PassiveTriggerExecutor

Runs a PassiveTrigger, which the app fires from code.

Sets itself as the trigger's executor on initialize. Fires only while resumed; calls in any other state are ignored.

Inheritance

Constructors

PassiveTriggerExecutor

PassiveTriggerExecutor()

Methods

onInitialize

bool onInitialize()
override

Called by initialize. Returns true if successfully initialized.

If false, the executor stays in ExecutorState.Created. This is a synchronous method and must be light-weight.

onTrigger

void onTrigger()
override

Fires this trigger by adding a TriggerEvent to triggerEvents.