QMqttMessageStatusProperties#

The QMqttMessageStatusProperties class represents additional information provided by the server during message delivery. More

Inheritance diagram of PySide6.QtMqtt.QMqttMessageStatusProperties

Synopsis#

Functions#

Detailed Description#

Depending on the QoS level of a message being sent by publish() , a server reports the state of delivery. Additionally to the MessageStatus , complementary information might be included by the server. These are exposed to users via QMqttMessageStatusProperties .

Note

Message status properties are part of the MQTT 5.0 specification and cannot be used when connecting with a lower protocol level. See ProtocolVersion for more information.

class PySide6.QtMqtt.QMqttMessageStatusProperties#

PySide6.QtMqtt.QMqttMessageStatusProperties(arg__1)

Parameters

arg__1PySide6.QtMqtt.QMqttMessageStatusProperties

PySide6.QtMqtt.QMqttMessageStatusProperties.reason()#
Return type

str

Returns the reason string of a failed message delivery.

PySide6.QtMqtt.QMqttMessageStatusProperties.reasonCode()#
Return type

ReasonCode

Returns the reason code of a failed message delivery.

PySide6.QtMqtt.QMqttMessageStatusProperties.userProperties()#
Return type

QMqttUserProperties

Returns properties specified in conjunction with a message.