ExecutorState enum

The state of an Executor.

The runtime state has the following state machine:

   +---------------------------------------------------------------+     +-----------+
   |  +---------+    +-------------+    +---------+     +--------+ |  -> | undefined |
   |  | created | -> | initialized | -> | resumed | <-> | paused | |     +-----------+
   |  +---------+    +-------------+    +---------+     +--------+ |  -> | stopped   |
   +---------------------------------------------------------------+     +-----------+
Inheritance

Constructors

ExecutorState()
const

Values

created → const ExecutorState

Created and ready to be initialized.

initialized → const ExecutorState

Initialized and ready to be resumed.

resumed → const ExecutorState

Resumed and active in data collection.

paused → const ExecutorState

Paused and not collecting data.

stopped → const ExecutorState

Stopped and can no longer collect data.

undefined → const ExecutorState

Undefined state.

Typically an executor becomes undefined if it cannot be initialized or if this executor (probe) is not supported on the specific phone / OS.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
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<ExecutorState>
A constant List of the values in this enum, in order of their declaration.