rtcRoom$onRoomWarning method

FutureOr<void> rtcRoom$onRoomWarning(
  1. ByteRTCRoom rtcRoom,
  2. ByteRTCWarningCode warningCode
)

@hidden @deprecated since 3.41 and will be deleted in 3.51, use rtcRoom:onRoomStateChanged:withUid:state:extraInfo:{@link #ByteRTCRoomDelegate#rtcRoom:onRoomStateChanged:withUid:state:extraInfo} and rtcRoom:onStreamStateChanged:withUid:state:extraInfo:{@link #ByteRTCRoomDelegate#rtcRoom:onStreamStateChanged:withUid:state:extraInfo} instead. @detail callback @author shenpengliang @brief 发生警告回调。
SDK 运行时出现了警告。SDK 通常会自动恢复,警告信息可以忽略。 @param rtcRoom ByteRTCRoom 对象。 @param warningCode 警告码,详见枚举类型 ByteRTCWarningCode{@link #ByteRTCWarningCode} 。

Implementation

FutureOr<void> rtcRoom$onRoomWarning(
    ByteRTCRoom rtcRoom, ByteRTCWarningCode warningCode) async {}