rtcRoom$onRoomWarning method
@deprecated since 3.41 and will be deleted in later version, use rtcRoom:onRoomStateChangedWithReason:withUid:state:reason:{@link #ByteRTCGameRoomDelegate#rtcRoom:onRoomStateChangedWithReason:withUid:state:reason} and rtcRoom:onStreamStateChanged:withUid:state:extraInfo:{@link #ByteRTCGameRoomDelegate#rtcRoom:onStreamStateChanged:withUid:state:extraInfo} instead.
@detail callback
@author luomingkang
@brief 发生警告回调。
SDK 运行时出现了警告。SDK 通常会自动恢复,警告信息可以忽略。
@param rtcRoom ByteRTCGameRoom 实例。
@param warningCode 警告码,详见枚举类型 ByteRTCWarningCode{@link #ByteRTCWarningCode} 。
Implementation
FutureOr<void> rtcRoom$onRoomWarning(
ByteRTCGameRoom rtcRoom, ByteRTCWarningCode warningCode) async {}