#include <zego-api-network-probe.h>
◆ ~IZegoNetWorkProbeCallBack()
virtual ZEGO::NETWORKPROBE::IZegoNetWorkProbeCallBack::~IZegoNetWorkProbeCallBack |
( |
| ) |
|
|
inlinevirtual |
◆ OnConnectResult()
virtual void ZEGO::NETWORKPROBE::IZegoNetWorkProbeCallBack::OnConnectResult |
( |
int |
errcode, |
|
|
const NetConnectInfo & |
info, |
|
|
PROBE_TYPE |
type |
|
) |
| |
|
pure virtual |
网络测速模块连通回调 探测连接和测速都会回调此值
- Parameters
-
errcode | 0成功 非0失败 |
info | 链接的结果相关信息 |
type | 结果的类型 |
◆ OnTestStop()
virtual void ZEGO::NETWORKPROBE::IZegoNetWorkProbeCallBack::OnTestStop |
( |
int |
errcode, |
|
|
PROBE_TYPE |
type |
|
) |
| |
|
pure virtual |
◆ OnUpdateSpeed()
virtual void ZEGO::NETWORKPROBE::IZegoNetWorkProbeCallBack::OnUpdateSpeed |
( |
const NetQuality & |
netQuality, |
|
|
PROBE_TYPE |
type |
|
) |
| |
|
pure virtual |
网络测速时的定时回调
- Parameters
-
netQuality为当前时刻的瞬时值 | |
type | 该回调的类型 |
The documentation for this class was generated from the following file: