NetworkQuality enum

网络质量。

Constants

Bad → const NetworkQuality

勉强能沟通但不顺畅。

@JsonValue(4)
const NetworkQuality(4)
Detecting → const NetworkQuality

网络质量探测中。

@JsonValue(8)
const NetworkQuality(8)
Down → const NetworkQuality

网络连接已断开,完全无法沟通。

@JsonValue(6)
const NetworkQuality(6)
Excellent → const NetworkQuality

网络质量极好。

@JsonValue(1)
const NetworkQuality(1)
Good → const NetworkQuality

用户主观感觉和 Excellent 差不多,但码率可能略低于 Excellent

@JsonValue(2)
const NetworkQuality(2)
Poor → const NetworkQuality

用户主观感受有瑕疵但不影响沟通。

@JsonValue(3)
const NetworkQuality(3)
Unknown → const NetworkQuality

网络质量未知。

@JsonValue(0)
const NetworkQuality(0)
Unsupported → const NetworkQuality

网络质量探测功能不可使用 (目前没有使用)。

@JsonValue(7)
const NetworkQuality(7)
values → const List<NetworkQuality>

A constant List of the values in this enum, in order of their declaration.

const List<NetworkQuality>
VBad → const NetworkQuality

网络质量非常差,基本不能沟通。

@JsonValue(5)
const NetworkQuality(5)

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
index int

The integer index of this enum.

final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited