ZegoNetworkMode enum

网络模式

Inheritance
  • Object
  • Enum
  • ZegoNetworkMode

Constructors

ZegoNetworkMode()
const

Values

Offline → const ZegoNetworkMode

离线(无网络)

Unknown → const ZegoNetworkMode

未知网络模式

Ethernet → const ZegoNetworkMode

有线以太网 (LAN)

WiFi → const ZegoNetworkMode

无线局域网 (WLAN)

Mode2G → const ZegoNetworkMode

2G 网络 (GPRS/EDGE/CDMA1x/etc.)

Mode3G → const ZegoNetworkMode

3G 网络 (WCDMA/HSDPA/EVDO/etc.)

Mode4G → const ZegoNetworkMode

4G 网络 (LTE)

Mode5G → const ZegoNetworkMode

5G 网络 (NR (NSA/SA))

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<ZegoNetworkMode>
A constant List of the values in this enum, in order of their declaration.
[Offline, Unknown, Ethernet, WiFi, Mode2G, Mode3G, Mode4G, Mode5G]