proxyConnected property

OnProxyConnected? proxyConnected
getter/setter pair

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 from the user calling until this callback is triggered.

Param channel The channel name.

Param uid The user ID.

Param proxyType The proxy type connected. See CloudProxyType .

Param localProxyIp Reserved for future use.

Param elapsed The time elapsed (ms) from the user calling until this callback is triggered.

Implementation

OnProxyConnected? proxyConnected;