unreal.MQTTClientObject¶
- class unreal.MQTTClientObject(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
ObjectMQTTClient Object
C++ Source:
Plugin: MQTT
Module: MQTTCore
File: MQTTClientObject.h
- publish(topic, payload, qo_s=MQTTQualityOfService.ONCE, retain=False) None¶
OutMessageId can be used to match this request with the callback response.
- Parameters:
topic (str)
payload (Array[uint8])
qo_s (MQTTQualityOfService)
retain (bool)
- subscribe(topic, qo_s=MQTTQualityOfService.ONCE) MQTTSubscriptionObject¶
OutMessageId can be used to match this request with the callback response.
- Parameters:
topic (str)
qo_s (MQTTQualityOfService)
- Return type:
- subscribe_many(topics, qo_s) Array[MQTTSubscriptionObject]¶
OutMessageId can be used to match this request with the callback response.
- Parameters:
qo_s (Array[MQTTQualityOfService])
- Return type: