TUINetwork class

1.4 Network Quality Information

Constructors

TUINetwork({required String userId, required TUINetworkQuality quality, required int upLoss, required int downLoss, required int delay})
TUINetwork.fromJson(Map<String, dynamic> json)

Properties

delay int
Network Latency, in milliseconds (ms)
getter/setter pair
downLoss int
Downstream Packet Loss Rate, in percentage (%) - The smaller the value, the better. If downLoss is 0%, it means that the network quality of the downstream link is excellent, and the data packets received from the cloud are not lost. If downLoss is 30%, it means that 30% of the audio and video data packets transmitted from the cloud to the SDK are lost in the transmission link.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
quality TUINetworkQuality
Network Quality
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
upLoss int
Upstream Packet Loss Rate, in percentage (%) - The smaller the value, the better. If upLoss is 0%, it means that the network quality of the upstream link is excellent, and the data packets uploaded to the cloud are not lost. If upLoss is 30%, it means that 30% of the audio and video data packets sent by the SDK to the cloud are lost in the transmission link.
getter/setter pair
userId String
User ID
getter/setter pair

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