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

상세 설명

참고: 구독 취소 속성은 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.