MqttConnectionState enum

Enumeration that indicates various client connection states

Constants

connected → const MqttConnectionState

The MQTT Connection is currently connected to the broker.

const MqttConnectionState(3)
connecting → const MqttConnectionState

The MQTT Connection is in the process of connecting to the broker.

const MqttConnectionState(2)
disconnected → const MqttConnectionState

MQTT Connection is not currently connected to any broker.

const MqttConnectionState(1)
disconnecting → const MqttConnectionState

The MQTT Connection is in the process of disconnecting from the broker.

const MqttConnectionState(0)
faulted → const MqttConnectionState

The MQTT Connection is faulted and no longer communicating with the broker.

const MqttConnectionState(4)
values → const List<MqttConnectionState>

A constant List of the values in this enum, in order of their declaration.

const List<MqttConnectionState>

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
index int

The integer index of this enum.

final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
override

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited