NetworkType enum
Network type.
Values
- networkTypeUnknown → const NetworkType
-
-1: The network type is unknown.
- networkTypeDisconnected → const NetworkType
-
0: The SDK disconnects from the network.
- networkTypeLan → const NetworkType
-
1: The network type is LAN.
- networkTypeWifi → const NetworkType
-
2: The network type is Wi-Fi (including hotspots).
- networkTypeMobile2g → const NetworkType
-
3: The network type is mobile 2G.
- networkTypeMobile3g → const NetworkType
-
4: The network type is mobile 3G.
- networkTypeMobile4g → const NetworkType
-
5: The network type is mobile 4G.
- networkTypeMobile5g → const NetworkType
-
6: The network type is mobile 5G.
Properties
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<
NetworkType> - A constant List of the values in this enum, in order of their declaration.