ZegoStreamRelayCDNState enum

转推 CDN 状态

Inheritance
  • Object
  • Enum
  • ZegoStreamRelayCDNState

Constructors

ZegoStreamRelayCDNState()
const

Values

NoRelay → const ZegoStreamRelayCDNState

未转推状态,在转推前处于该状态。如果转推过程出现稳态的异常,例如 转推地址 不正确,都会进入未转推状态

RelayRequesting → const ZegoStreamRelayCDNState

正在请求转推状态,转推操作执行成功后会进入正在请求转推状态,通常通过该状态进行应用界面的展示。如果因为网络质量不佳产生的中断,SDK 会进行内部重试,也会回到正在转推状态

Relaying → const ZegoStreamRelayCDNState

正在转推状态,进入该状态表明转推已成功

Properties

hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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

Constants

values → const List<ZegoStreamRelayCDNState>
A constant List of the values in this enum, in order of their declaration.
[NoRelay, RelayRequesting, Relaying]