rtcRoom$onRoomWarning method

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

@deprecated since 3.45 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 Warning callback occurred.
A warning occurred during the SDK runtime. The SDK usually recovers automatically and warnings can be ignored. @param rtcRoom ByteRTCGameRoom instance. @param warningCode Warning code. See enumeration type ByteRTCWarningCode{@link #ByteRTCWarningCode}.

Implementation

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