onLocalProxyStateChanged property
FutureOr<void> Function(LocalProxyType localProxyType, LocalProxyState localProxyState, LocalProxyError localProxyError)?
onLocalProxyStateChanged
getter/setter pair
@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> Function(
LocalProxyType localProxyType,
LocalProxyState localProxyState,
LocalProxyError localProxyError)? onLocalProxyStateChanged;