onMessageReceived property
Occurs when the local user receives a peer-to-peer message.
Implementation
void Function(AgoraRtmMessage message, String? peerId)? onMessageReceived;
Occurs when the local user receives a peer-to-peer message.
void Function(AgoraRtmMessage message, String? peerId)? onMessageReceived;