The QMqttUnsubscriptionProperties class represents configuration options a QMqttClient can pass to the server when unsubscribing from a topic filter. 更多...
头: | #include <QMqttUnsubscriptionProperties> |
qmake: | QT += mqtt |
Since: | Qt 5.12 |
void | setUserProperties (const QMqttUserProperties & user ) |
QMqttUserProperties | userProperties () const |
注意: Unsubscription properties are part of the MQTT 5.0 specification and cannot be used when connecting with a lower protocol level. See QMqttClient::ProtocolVersion 了解更多信息。
Sets the user properties to user .
另请参阅 userProperties ().
Returns the user specified properties.
另请参阅 setUserProperties ().