Network Quality
网络质量
此枚举定义了网络质量等级。
响应场景
| 质量 | 值 | 描述 |
UNKNOWN | 0 | 未知网络 |
EXCELLENT | 1 | 极佳 |
GOOD | 2 | 良好 |
POOR | 3 | 较差 |
BAD | 4 | 差 |
VERY_BAD | 5 | 极差 |
DOWN | 6 | 中断 |
Entries
Functions
Link copied to clipboard
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Link copied to clipboard
Returns an array containing the constants of this enum type, in the order they're declared.