onCloudProxyConnected method
@detail callback @brief Receives the callback when you call startCloudProxy{@link #RTCEngine#startCloudProxy} to start cloud proxy, and the SDK connects the proxy server successfully. @param interval The interval in ms between starting cloud proxy and connects the cloud proxy server successfully.
Implementation
FutureOr<void> onCloudProxyConnected(dynamic interval) async {
if ($instance == null || $instance is! IRTCEngineEventHandler) {
return;
}
return ($instance as IRTCEngineEventHandler)
.onCloudProxyConnected
?.call(int.tryParse(interval.toString()) ?? 0);
}