AgoraNetworkType Constants Reference
Declared in | AgoraEnumerates.h |
---|
AgoraNetworkType
Network type.
Definition
typedef NS_ENUM(NSInteger, AgoraNetworkType ) {
AgoraNetworkTypeUnknown = -1,
AgoraNetworkTypeDisconnected = 0,
AgoraNetworkTypeLAN = 1,
AgoraNetworkTypeWIFI = 2,
AgoraNetworkTypeMobile2G = 3,
AgoraNetworkTypeMobile3G = 4,
AgoraNetworkTypeMobile4G = 5,
AgoraNetworkTypeMobile5G = 6,
};
Constants
AgoraNetworkTypeUnknown
-
-1: The network type is unknown.
Declared In
AgoraEnumerates.h
. AgoraNetworkTypeDisconnected
-
0: The SDK disconnects from the network.
Declared In
AgoraEnumerates.h
. AgoraNetworkTypeLAN
-
1: The network type is LAN.
Declared In
AgoraEnumerates.h
. AgoraNetworkTypeWIFI
-
2: The network type is Wi-Fi (including hotspots).
Declared In
AgoraEnumerates.h
. AgoraNetworkTypeMobile2G
-
3: The network type is mobile 2G.
Declared In
AgoraEnumerates.h
. AgoraNetworkTypeMobile3G
-
4: The network type is mobile 3G.
Declared In
AgoraEnumerates.h
. AgoraNetworkTypeMobile4G
-
5: The network type is mobile 4G.
Declared In
AgoraEnumerates.h
. AgoraNetworkTypeMobile5G
-
6: The network type is mobile 5G.
Available in v3.5.1
Declared In
AgoraEnumerates.h
.
Declared In
AgoraEnumerates.h