rtcEngine$onLocalProxyStateChanged$withProxyState$withProxyError method

FutureOr<void> rtcEngine$onLocalProxyStateChanged$withProxyState$withProxyError(
  1. ByteRTCEngine engine,
  2. ByteRTCLocalProxyType type,
  3. ByteRTCLocalProxyState state,
  4. ByteRTCLocalProxyError error,
)

@detail callback @author keshixing.rtc @brief Callback on local proxy connection. After calling setLocalProxy:{@link #ByteRTCEngine#setLocalProxy} to set local proxies, you will receive this callback that informs you of the states of local proxy connection. @param engine ByteRTCEngine object @param type The types of local proxies. Refer to ByteRTCLocalProxyType{@link #ByteRTCLocalProxyType} for details. @param state The states of local proxy connection. Refer to ByteRTCLocalProxyState{@link #ByteRTCLocalProxyState} for details. @param error The errors of local proxy connection. Refer to ByteRTCLocalProxyError{@link #ByteRTCLocalProxyError} for details.

Implementation

FutureOr<void>
    rtcEngine$onLocalProxyStateChanged$withProxyState$withProxyError(
        ByteRTCEngine engine,
        ByteRTCLocalProxyType type,
        ByteRTCLocalProxyState state,
        ByteRTCLocalProxyError error) async {}