MqttAuthenticateReasonCode enum

MQTT reason code

A Reason Code is a one byte unsigned value that indicates the result of an operation. Reason codes less than 0x80 indicate successful completion of an operation. The normal Reason Code for success is 0. Reason Code values of 0x80 or greater indicate failure. Authentication message processing reason codes.

Inheritance

Constructors

MqttAuthenticateReasonCode()
const

Values

success → const MqttAuthenticateReasonCode

Authentication is successful

continueAuthentication → const MqttAuthenticateReasonCode

Continue the authentication with another step.

reAuthenticate → const MqttAuthenticateReasonCode

Initiate a re-authentication.

notSet → const MqttAuthenticateReasonCode

Not set indication, not part of the MQTT specification, used by the client to indicate a field has not yet been set.

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<MqttAuthenticateReasonCode>
A constant List of the values in this enum, in order of their declaration.