receive property

set receive (MessageCallback callback)

Register the callback for when events from the device are received.

Implementation

external set receive(MessageCallback callback);