ZegoNetworkSpeedTestQuality class

网络测速质量

Constructors

ZegoNetworkSpeedTestQuality(int connectCost, int rtt, double packetLostRate, ZegoStreamQualityLevel quality)

Properties

connectCost ↔ int
连接服务器耗时,单位毫秒。测速过程中如果网络连接断开会自动发起重连,此变量会相应更新。
read / write
hashCode → int
The hash code for this object.
read-onlyinherited
packetLostRate ↔ double
丢包率,单位为百分比,0.0 ~ 1.0
read / write
quality ZegoStreamQualityLevel
网络质量,优良中差
read / write
rtt ↔ int
rtt,单位毫秒
read / write
runtimeType → Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited