Package com.zego.zegoavkit2.networkprobe
Class ZegoNetWorkProbeJNI
- java.lang.Object
-
- com.zego.zegoavkit2.networkprobe.ZegoNetWorkProbeJNI
-
public final class ZegoNetWorkProbeJNI extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ZegoNetWorkProbeJNI()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
onConnectResult(int errcode, ZegoNetConnectInfo info, int type)
static void
onTestStop(int errcode, int type)
static void
onUpdateSpeed(ZegoNetQualityInfo quality, int type)
static void
setNetWorkProbeCallback(IZegoNetWorkProbeCallback callback)
static void
setQualityCallbackInterval(int interval)
static void
startConnectivityTest()
static void
startDownlinkSpeedTest(int bitrate)
static void
startUplinkSpeedTest(int bitrate)
static void
stopConnectivityTest()
static void
stopDownlinkSpeedTest()
static void
stopUplinkSpeedTest()
-
-
-
Method Detail
-
setNetWorkProbeCallback
public static void setNetWorkProbeCallback(IZegoNetWorkProbeCallback callback)
-
onConnectResult
public static void onConnectResult(int errcode, ZegoNetConnectInfo info, int type)
-
onUpdateSpeed
public static void onUpdateSpeed(ZegoNetQualityInfo quality, int type)
-
onTestStop
public static void onTestStop(int errcode, int type)
-
startConnectivityTest
public static void startConnectivityTest()
-
stopConnectivityTest
public static void stopConnectivityTest()
-
startUplinkSpeedTest
public static void startUplinkSpeedTest(int bitrate)
-
setQualityCallbackInterval
public static void setQualityCallbackInterval(int interval)
-
stopUplinkSpeedTest
public static void stopUplinkSpeedTest()
-
startDownlinkSpeedTest
public static void startDownlinkSpeedTest(int bitrate)
-
stopDownlinkSpeedTest
public static void stopDownlinkSpeedTest()
-
-