rtcEngine$onError method

FutureOr<void> rtcEngine$onError(
  1. ByteRTCEngine engine,
  2. ByteRTCErrorCode errorCode
)

@detail callback @author panjian.fishing @brief Error callback occurred. This callback is triggered when a network or media-related error occurs during the
SDK runtime and cannot be automatically recovered and you may need to intervene. @param engine ByteRTCEngine object. @param errorCode BigInt. See ByteRTCErrorCode{@link #ByteRTCErrorCode}.

Implementation

FutureOr<void> rtcEngine$onError(
    ByteRTCEngine engine, ByteRTCErrorCode errorCode) async {}