addMessageObserver

open override fun addMessageObserver(observer: MessageObserver)

Adds an observer to be notified when a message arrives from DeviceGateway.

Parameters

observer

The observer to add.