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

Device address.

Return Value: None

OnDisconnected

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

void OnDisconnected(string deviceAddress);

Return Value: None

Parameter

Description

deviceAddress

Device address.