ZegoNetworkMode enum

Network mode

Inheritance
  • Object
  • Enum
  • ZegoNetworkMode

Constructors

ZegoNetworkMode()
const

Values

Offline → const ZegoNetworkMode

Offline (No network)

Unknown → const ZegoNetworkMode

Unknown network mode

Ethernet → const ZegoNetworkMode

Wired Ethernet (LAN)

WiFi → const ZegoNetworkMode

Wi-Fi (WLAN)

Mode2G → const ZegoNetworkMode

2G Network (GPRS/EDGE/CDMA1x/etc.)

Mode3G → const ZegoNetworkMode

3G Network (WCDMA/HSDPA/EVDO/etc.)

Mode4G → const ZegoNetworkMode

4G Network (LTE)

Mode5G → const ZegoNetworkMode

5G Network (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]