addMessageObserver
Adds an observer to be notified when a message arrives from DeviceGateway.
Parameters
observer
The observer to add.
Adds an observer to be notified when a message arrives from DeviceGateway.
The observer to add.