onLocalProxyStateChanged method

FutureOr<void> onLocalProxyStateChanged(
  1. LocalProxyType localProxyType,
  2. LocalProxyState localProxyState,
  3. LocalProxyError localProxyError
)

@detail callback @author keshixing.rtc @brief Callback on local proxy connection. After calling setLocalProxy{@link #RTCEngine#setLocalProxy} to set local proxies, you will receive this callback that informs you of the states of local proxy connection. @param localProxyType The types of local proxies. Refer to LocalProxyType{@link #LocalProxyType} for details. @param localProxyState The states of local proxy connection. Refer to LocalProxyState{@link #LocalProxyState} for details. @param localProxyError The errors of local proxy connection. Refer to LocalProxyError{@link #LocalProxyError} for details.

Implementation

FutureOr<void> onLocalProxyStateChanged(LocalProxyType localProxyType,
    LocalProxyState localProxyState, LocalProxyError localProxyError) async {}