Package 

Interface IThingMqttChannel


  • public interface IThingMqttChannel
    
                        

    Mqtt send and receive channels.

    Send messages to or receive messages from the device via MQTT.

    This feature is only needed if you need to customize the embedded firmware, which will handle the corresponding mqtt messages.

    IThingMqttChannel mqttChannelInstance = ThingHomeSdk.getMqttChannelInstance();
    mqttChannelInstance.registerMqttRetainChannelListener(new IThingMqttRetainChannelListener() {