QMqttSubscriptionProperties#

The QMqttSubscriptionProperties class represents configuration options a QMqttClient can pass to the server when subscribing to a topic filter. More

Inheritance diagram of PySide6.QtMqtt.QMqttSubscriptionProperties

Synopsis#

Functions#

Detailed Description#

Note

Subscription 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.QMqttSubscriptionProperties#

PySide6.QtMqtt.QMqttSubscriptionProperties(arg__1)

Parameters

arg__1PySide6.QtMqtt.QMqttSubscriptionProperties

PySide6.QtMqtt.QMqttSubscriptionProperties.setSubscriptionIdentifier(id)#
Parameters

id – int

Sets the subscription identifier to id.

PySide6.QtMqtt.QMqttSubscriptionProperties.setUserProperties(user)#
Parameters

userQMqttUserProperties

Sets the user properties to user.

See also

userProperties()

PySide6.QtMqtt.QMqttSubscriptionProperties.subscriptionIdentifier()#
Return type

int

Returns the subscription identifier used to describe this subscription.

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

QMqttUserProperties

Returns the user specified properties.