Package tvi.webrtc
Enum PeerConnection.AdapterType
- java.lang.Object
-
- java.lang.Enum<PeerConnection.AdapterType>
-
- tvi.webrtc.PeerConnection.AdapterType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<PeerConnection.AdapterType>
- Enclosing class:
- PeerConnection
public static enum PeerConnection.AdapterType extends java.lang.Enum<PeerConnection.AdapterType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADAPTER_TYPE_ANY
CELLULAR
CELLULAR_2G
CELLULAR_3G
CELLULAR_4G
CELLULAR_5G
ETHERNET
LOOPBACK
UNKNOWN
VPN
WIFI
-
Field Summary
Fields Modifier and Type Field Description java.lang.Integer
bitMask
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PeerConnection.AdapterType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static PeerConnection.AdapterType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNKNOWN
public static final PeerConnection.AdapterType UNKNOWN
-
ETHERNET
public static final PeerConnection.AdapterType ETHERNET
-
WIFI
public static final PeerConnection.AdapterType WIFI
-
CELLULAR
public static final PeerConnection.AdapterType CELLULAR
-
VPN
public static final PeerConnection.AdapterType VPN
-
LOOPBACK
public static final PeerConnection.AdapterType LOOPBACK
-
ADAPTER_TYPE_ANY
public static final PeerConnection.AdapterType ADAPTER_TYPE_ANY
-
CELLULAR_2G
public static final PeerConnection.AdapterType CELLULAR_2G
-
CELLULAR_3G
public static final PeerConnection.AdapterType CELLULAR_3G
-
CELLULAR_4G
public static final PeerConnection.AdapterType CELLULAR_4G
-
CELLULAR_5G
public static final PeerConnection.AdapterType CELLULAR_5G
-
-
Method Detail
-
values
public static PeerConnection.AdapterType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (PeerConnection.AdapterType c : PeerConnection.AdapterType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PeerConnection.AdapterType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-