NetworkDetectionStopReason enum Null safety

通话前网络探测停止的原因

Constants

connectionLost → const NetworkDetectionStopReason

探测网络连接断开

当超过 12s 没有收到回复,SDK 将断开网络连接,并且不再尝试重连

const NetworkDetectionStopReason(2)
innerErr → const NetworkDetectionStopReason

内部异常导致网络探测失败

const NetworkDetectionStopReason(4)
streaming → const NetworkDetectionStopReason

本地开始推拉流,停止探测

const NetworkDetectionStopReason(3)
timeout → const NetworkDetectionStopReason

开启探测时长已超过 3 分钟,已自动停止

const NetworkDetectionStopReason(1)
user → const NetworkDetectionStopReason

用户主动停止

const NetworkDetectionStopReason(0)
values → const List<NetworkDetectionStopReason>

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

const List<NetworkDetectionStopReason>

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
A string representation of this object. [...]
override

Operators

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