The network connection helper interface.
More...
#include <network_connection_handler_interface.h>
The network connection helper interface.
Definition at line 141 of file network_connection_handler_interface.h.
◆ ConfigureProxy()
Set the proxy that the user want to use according to your net environment.
- Parameters
-
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()
Set the callback handler to receive the INetworkConnectionHandler.
- Parameters
-
pNetworkHandler | The 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.