DataMessageObserver

@objc
public protocol DataMessageObserver

DataMessasgeObserver handles data message event,

  • Handles data message receive event

    Note: this callback will be called on main thread.

    Declaration

    Swift

    func dataMessageDidReceived(dataMessage: DataMessage)

    Parameters

    dataMessage

    The data message received