NetworkQualityStats class Null safety
上行/下行网络质量相关数据
Constructors
- NetworkQualityStats({required String uid, required double fractionLost, required int rtt, required int totalBandwidth, required NetworkQuality txQuality, required NetworkQuality rxQuality})
- NetworkQualityStats.fromMap(Map map)
-
factory
Properties
- fractionLost ↔ double
-
丢包率,范围
0.0,1.0[...]read / write - hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- rtt ↔ int
-
当
uid为本地用户时有效,客户端到服务端的往返延时,单位:msread / write - runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- rxQuality ↔ NetworkQuality
-
下行网络质量分,范围
0,5,分数越高网络质量越差read / write - totalBandwidth ↔ int
-
本端的音视频 RTP 包 2 秒内的平均传输速率,单位:bps [...]
read / write
- txQuality ↔ NetworkQuality
-
上行网络质量分,范围
0,5,分数越高网络质量越差read / write - uid ↔ String
-
用户 ID
read / write
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
A string representation of this object. [...]
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited