onData property

PublishSubject<DataMessage?> onData
getter/setter pair

This event will be triggered when a data message is received

Implementation

PublishSubject<DataMessage?> onData = PublishSubject<DataMessage?>();