MqttConnectReturnCode enum

Enumeration of allowable connection request return codes from a broker.

Constants

badUsernameOrPassword → const MqttConnectReturnCode

Invalid username or password

const MqttConnectReturnCode(4)
brokerUnavailable → const MqttConnectReturnCode

Broker unavailable

const MqttConnectReturnCode(3)
connectionAccepted → const MqttConnectReturnCode

Connection accepted

const MqttConnectReturnCode(0)
identifierRejected → const MqttConnectReturnCode

Invalid client identifier

const MqttConnectReturnCode(2)
noneSpecified → const MqttConnectReturnCode

Default

const MqttConnectReturnCode(6)
notAuthorized → const MqttConnectReturnCode

Not authorised

const MqttConnectReturnCode(5)
unacceptedProtocolVersion → const MqttConnectReturnCode

Invalid protocol version

const MqttConnectReturnCode(1)
values → const List<MqttConnectReturnCode>

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

const List<MqttConnectReturnCode>

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