onRoomWarning method

FutureOr<void> onRoomWarning(
  1. int warn
)

@hidden @deprecated since 3.45 and will be deleted in 3.51, user onRoomStateChanged{@link #IRTCRoomEventHandler#onRoomStateChanged} and onStreamStateChanged instead. @detail callback @author shenpengliang @brief Warning callback occurred. @param warn Warning code. See WarningCode{@link #WarningCode} @note SDK A (network or media-related) warning occurred at the runtime. The SDK usually recovers automatically and warnings can be ignored.

Implementation

FutureOr<void> onRoomWarning(int warn) async {}