ZegoNetWorkProbeDelegate Protocol Reference
Conforms to | NSObject |
---|---|
Declared in | zego-api-network-probe-oc.h |
– onConnectResult:connectinfo:probeType:
网络测速模块连通回调 探测连接和测速都会回调此值
- (void)onConnectResult:(int)errcode connectinfo:(ZegoNetConnectInfo *)info probeType:(ZegoProbeType)type
Parameters
errcode |
错误码 |
---|---|
info |
链接的结果相关信息 |
type |
结果的类型 |
Declared In
zego-api-network-probe-oc.h
– onUpdateSpeed:probeType:
速度测试时的回调 回调当前的质量
- (void)onUpdateSpeed:(ZegoNetQuality *)quality probeType:(ZegoProbeType)type
Parameters
quality |
速度测试的结果 |
---|---|
type |
结果的类型 |
Declared In
zego-api-network-probe-oc.h
– onTestStop:probeType:
网络测速异常结束的回调
- (void)onTestStop:(int)errcode probeType:(ZegoProbeType)type
Parameters
errcode |
0 正常结束 |
---|---|
type |
结束的类型 |
Declared In
zego-api-network-probe-oc.h