MqttQos enum

Enumeration of available QoS types.

Inheritance
Available extensions

Values

atMostOnce → const MqttQos

QOS Level 0 - Message is not guaranteed delivery. No retries are made to ensure delivery is successful.

atLeastOnce → const MqttQos

QOS Level 1 - Message is guaranteed delivery. It will be delivered at least one time, but may be delivered more than once if network errors occur.

exactlyOnce → const MqttQos

QOS Level 2 - Message will be delivered once, and only once. Message will be retried until it is successfully sent.

reserved1 → const MqttQos

Reserved by the MQTT Spec. Currently unused from here on until the fail indicator below

failure → const MqttQos

Failure indication This is a QOS value of 128, used in a sub ack message to indicate failure to subscribe to a topic

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