onMessageReceived

abstract fun onMessageReceived(message: HMSMessage)

Called when there is a HMSMessage send by another HMSPeer

Parameters

message

: the HMSMessage received