All pages
Powered by GitBook
1 of 1

Loading...

IMQTTDeviceStatusCallback Delegates

This interface invokes callback functions to receive data and/or a detailed response. To register for the event(s), call the setMQTTDeviceStatusMonitoring() function with the name of a class that implements the IMQTTDeviceStatusCallback interface.

OnConnected

This event is called when a device is connected to the MQTT broker.

void OnConnected(String deviceAddress);
Parameter
Description

deviceAddress

Return Value: None

This event is called when a device is disconnected from the MQTT broker.

Parameter
Description

Return Value: None

Device address.

deviceAddress

Device address.

OnDisconnected

void OnDisconnected(String deviceAddress);