rtsRoom$onRoomMessageReceived$message method

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

@detail callback @brief Receive this callback when you receive a broadcast text message from the room called sendRoomMessage:{@link #ByteRTCRTSRoom#sendRoomMessage}. @param rtsRoom ByteRTCRTSRoom object @param uid Message sender ID. @param message The content of the received text message.

Implementation

FutureOr<void> rtsRoom$onRoomMessageReceived$message(
    ByteRTCRTSRoom rtsRoom, NSString uid, NSString message) async {}