ExecutorState enum

The state of an Executor.

The runtime state has the following state machine:

   +----------------------------------------------------------------+      +-----------+
   |  +---------+    +-------------+    +---------+     +---------+ |   -> | undefined |
   |  | created | -> | initialized | -> | started | <-> | stopped | |      +-----------+
   |  +---------+    +-------------+    +---------+     +---------+ |
   |                                         |                      |      +-----------+
   |                                      restart                   |   -> | disposed  |
   +----------------------------------------------------------------+      +-----------+
Inheritance
Available extensions

Values

created → const ExecutorState

Created and ready to be initialized.

initialized → const ExecutorState

Initialized and ready to be started.

started → const ExecutorState

Started and active in data collection. Can be restarted in this state.

stopped → const ExecutorState

Stopped and not collecting data. Can be started again in this state.

disposed → const ExecutorState

Permanently disposed. Cannot be used anymore.

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.