QMqttUnsubscriptionProperties Class
QMqttUnsubscriptionPropertiesクラスは、QMqttClient 、トピック・フィルターから登録を解除する際にサーバーに渡すことができる設定オプションを表します。詳細...
ヘッダ | #include <QMqttUnsubscriptionProperties> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS Mqtt) target_link_libraries(mytarget PRIVATE Qt6::Mqtt) |
qmake: | QT += mqtt |
パブリック関数
void | setUserProperties(const QMqttUserProperties &user) |
QMqttUserProperties | userProperties() const |
詳細説明
注意: Unsubscription プロパティは MQTT 5.0 仕様の一部であり、下位プロトコルレベルで接続する場合は使用できない。詳細はQMqttClient::ProtocolVersion を参照。
メンバ関数ドキュメント
void QMqttUnsubscriptionProperties::setUserProperties(const QMqttUserProperties &user)
ユーザ・プロパティをuser に設定する。
userProperties()も参照のこと 。
QMqttUserProperties QMqttUnsubscriptionProperties::userProperties() const
ユーザが指定したプロパティを返します。
setUserProperties()も参照してください 。
© 2025 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.