QMqttUnsubscriptionProperties Class
La classe QMqttUnsubscriptionProperties rappresenta le opzioni di configurazione che un " QMqttClient " può trasmettere al server al momento della disiscrizione da un filtro di argomento. Per saperne di più...
| Intestazione: | #include <QMqttUnsubscriptionProperties> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS Mqtt) target_link_libraries(mytarget PRIVATE Qt6::Mqtt) |
| qmake: | QT += mqtt |
Funzioni pubbliche
| void | setUserProperties(const QMqttUserProperties &user) |
| QMqttUserProperties | userProperties() const |
Descrizione dettagliata
Nota: le proprietàdi disiscrizione fanno parte della specifica MQTT 5.0 e non possono essere utilizzate quando ci si connette con un livello di protocollo inferiore. Per ulteriori informazioni, consultare QMqttClient::ProtocolVersion.
Documentazione delle funzioni membro
void QMqttUnsubscriptionProperties::setUserProperties(const QMqttUserProperties &user)
Imposta le proprietà dell'utente su user.
Vedi anche userProperties().
QMqttUserProperties QMqttUnsubscriptionProperties::userProperties() const
Restituisce le proprietà specificate dall'utente.
Vedi anche setUserProperties().
© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.