rtcRoom$onUserMessageReceived$message method
FutureOr<void>
rtcRoom$onUserMessageReceived$message(
- ByteRTCGameRoom rtcRoom,
- NSString uid,
- NSString message
@detail callback @author hanchenchen.c @brief Receive text messages (P2P) from other users in the room. @param rtcRoom ByteRTCGameRoom instance. @param uid The user ID of the sender of the message. @param message The content of the received text message.
Implementation
FutureOr<void> rtcRoom$onUserMessageReceived$message(
ByteRTCGameRoom rtcRoom, NSString uid, NSString message) async {}