NETWORK_TYPE

Network type.

Enumerator

NETWORK_TYPE_UNKNOWN
-1: The network type is unknown.
NETWORK_TYPE_DISCONNECTED
0: The SDK disconnects from the network.
NETWORK_TYPE_LAN
1: The network type is LAN.
NETWORK_TYPE_WIFI
2: The network type is Wi-Fi (including hotspots).
NETWORK_TYPE_MOBILE_2G
3: The network type is mobile 2G.
NETWORK_TYPE_MOBILE_3G
4: The network type is mobile 3G.
NETWORK_TYPE_MOBILE_4G
5: The network type is mobile 4G.
NETWORK_TYPE_MOBILE_5G
6: The network type is mobile 5G.