onProxyConnected property
        
        void Function(String channel, int uid, ProxyType proxyType, String localProxyIp, int elapsed)?
        onProxyConnected
        
      
final
      Reports the proxy connection state.
You can use this callback to listen for the state of the SDK connecting to a proxy. For example, when a user calls setCloudProxy and joins a channel successfully, the SDK triggers this callback to report the user ID, the proxy type connected, and the time elapsed fromthe user calling joinChannel until this callback is triggered.
- channelThe channel name.
- uidThe user ID.
- localProxyIpReserved for future use.
- elapsedThe time elapsed (ms) from the user calling joinChannel until this callback is triggered.
Implementation
final void Function(String channel, int uid, ProxyType proxyType,
    String localProxyIp, int elapsed)? onProxyConnected;