AutomationTrigger enum

What starts an Automation.

Inheritance
Available extensions

Values

appStart → const AutomationTrigger

The app started: once per run, when the runtime has loaded the project.

sessionStart → const AutomationTrigger

A session started: at app start, and when the app comes back after a while in the background (the runtime's session timeout, 30 minutes unless the app sets another).

resume → const AutomationTrigger

The app came back to the foreground.

event → const AutomationTrigger

App event Automation.event was fired: by the host (codelessly.emit) or a layout (an emitEvent action). ${event} holds its name and props; ${result} its props.

interval → const AutomationTrigger

Every Automation.intervalMs while the app is in the foreground.

screenShown → const AutomationTrigger

A screen of the project showed (Automation.screen: a layout, canvas or custom id; empty: any). ${event.props} holds layoutId, canvasId and params.

Properties

hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Constants

values → const List<AutomationTrigger>
A constant List of the values in this enum, in order of their declaration.