Package com.zego.zegoavkit2.networktrace
Interface IZegoNetworkTraceCallback
-
public interface IZegoNetworkTraceCallback
网络trace 模块回调
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onNetworkTrace(long code, ZegoHttpTraceResult httpResult, ZegoTcpTraceResult tcpResult, ZegoUdpTraceResult udpResult, ZegoTracerouteResult tracerouteResult)
网络探测模块回调
-
-
-
Method Detail
-
onNetworkTrace
void onNetworkTrace(long code, ZegoHttpTraceResult httpResult, ZegoTcpTraceResult tcpResult, ZegoUdpTraceResult udpResult, ZegoTracerouteResult tracerouteResult)
网络探测模块回调- Parameters:
code
- 请求是否成功httpResult
- http测试结果tcpResult
- tcp测试结果udpResult
- udp测试结果tracerouteResult
- traceroute测试结果 路由跟踪,最多jump 30次 (traceroute结果供参考,不代表最终连通性结果。优先已http,tcp,udp为准)
-
-