The QMqttSubscriptionProperties class represents configuration options a QMqttClient can pass to the server when subscribing to a topic filter. More...
Header: | #include <QMqttSubscriptionProperties> |
qmake: | QT += mqtt |
Since: | Qt 5.12 |
void | setSubscriptionIdentifier(quint32 id) |
void | setUserProperties(const QMqttUserProperties &user) |
quint32 | subscriptionIdentifier() const |
QMqttUserProperties | userProperties() const |
Note: Subscription properties are part of the MQTT 5.0 specification and cannot be used when connecting with a lower protocol level. See QMqttClient::ProtocolVersion for more information.
Sets the subscription identifier to id.
See also subscriptionIdentifier().
Sets the user properties to user.
See also userProperties().
Returns the subscription identifier used to describe this subscription.
See also setSubscriptionIdentifier().
Returns the user specified properties.
See also setUserProperties().
© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-6.2/qmqttsubscriptionproperties.html