rtcRoom$onRoomMessageReceived$message method

FutureOr<void> rtcRoom$onRoomMessageReceived$message(
  1. ByteRTCGameRoom rtcRoom,
  2. NSString uid,
  3. NSString message
)

@detail callback @author hanchenchen.c @brief Receive this callback when you receive a broadcast text message from the room. @param rtcRoom ByteRTCGameRoom instance. @param uid User ID of the message sender. @param message The content of the received text message.

Implementation

FutureOr<void> rtcRoom$onRoomMessageReceived$message(
    ByteRTCGameRoom rtcRoom, NSString uid, NSString message) async {}