ZOOM Windows SDK  5.2.42037.1112
Public Member Functions | List of all members
INetworkConnectionHelper Class Referenceabstract

The network connection helper interface. More...

#include <network_connection_handler_interface.h>

Public Member Functions

virtual SDKError RegisterNetworkConnectionHandler (INetworkConnectionHandler *pNetworkHandler)=0
 Set the callback handler to receive the INetworkConnectionHandler. More...
 
virtual SDKError UnRegisterNetworkConnectionHandler ()=0
 Unregister the callback handler which is used to receive the INetworkConnectionHandler. More...
 
virtual SDKError ConfigureProxy (ProxySettings &proxy_setting)=0
 Set the proxy that the user want to use according to your net environment. proxy_setting The proxy ip address and port that user want to use, should be organized like ip:port, such as '255.255.255.255:8080'. Using ';' to separate multi proxies. More...
 

Detailed Description

The network connection helper interface.

Member Function Documentation

◆ ConfigureProxy()

virtual SDKError INetworkConnectionHelper::ConfigureProxy ( ProxySettings proxy_setting)
pure virtual

Set the proxy that the user want to use according to your net environment. proxy_setting The proxy ip address and port that user want to use, should be organized like ip:port, such as '255.255.255.255:8080'. Using ';' to separate multi proxies.

Returns
If the function succeeds, the return value is SDKErr_Success. Otherwise failed. To get extended error information, see SDKError enum.

◆ RegisterNetworkConnectionHandler()

virtual SDKError INetworkConnectionHelper::RegisterNetworkConnectionHandler ( INetworkConnectionHandler pNetworkHandler)
pure virtual

Set the callback handler to receive the INetworkConnectionHandler.

Parameters
pNetworkHandlerThe SDK will invoke the handler once received this type of message. For more details, see INetworkConnectionHandler.
Returns
If the function succeeds, the return value is SDKErr_Success. Otherwise failed. To get extended error information, see SDKError enum.

◆ UnRegisterNetworkConnectionHandler()

virtual SDKError INetworkConnectionHelper::UnRegisterNetworkConnectionHandler ( )
pure virtual

Unregister the callback handler which is used to receive the INetworkConnectionHandler.

Returns
If the function succeeds, the return value is SDKErr_Success. Otherwise failed. To get extended error information, see SDKError enum.

The documentation for this class was generated from the following file: