Class ZegoNetworktrace


  • public class ZegoNetworktrace
    extends java.lang.Object
    网络测速管理类
    • Method Detail

      • getInstance

        public static ZegoNetworktrace getInstance()
        获取 ZegoNetworktrace 的单例对象。 注意:必须在 ZegoLiveRoom setSDKContext(SDKContext) 后调用。
      • setNetworkTraceCallback

        public void setNetworkTraceCallback​(IZegoNetworkTraceCallback callback)
        设置trace 模块回调
        Parameters:
        callback - 回调
      • startNetworkTrace

        public void startNetworkTrace​(ZegoNetworkTraceConfig config)
        开始网络trace测试
        Parameters:
        config - 配置参数
      • stopNetworkTrace

        public void stopNetworkTrace()
        停止trace测试