onRoomMessageReceived property

FutureOr<void> Function(int msgid, String uid, String message)? onRoomMessageReceived
getter/setter pair

@detail callback @author hanchenchen.c @brief 接收到房间内广播消息的回调。
房间内其他用户调用 sendRoomMessage{@link #RTSRoom#sendRoomMessage} 发送广播消息时,收到此回调。 @param msgid 消息编号。 @param uid 消息发送者 ID。 @param message 收到的消息内容。

Implementation

FutureOr<void> Function(int msgid, String uid, String message)?
    onRoomMessageReceived;