public static enum PeerConnection.AdapterType extends java.lang.Enum<PeerConnection.AdapterType>
Enum Constant and Description |
---|
ADAPTER_TYPE_ANY |
CELLULAR |
ETHERNET |
LOOPBACK |
UNKNOWN |
VPN |
WIFI |
Modifier and Type | Field and Description |
---|---|
java.lang.Integer |
bitMask |
Modifier and Type | Method and 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.
|
public static final PeerConnection.AdapterType UNKNOWN
public static final PeerConnection.AdapterType ETHERNET
public static final PeerConnection.AdapterType WIFI
public static final PeerConnection.AdapterType CELLULAR
public static final PeerConnection.AdapterType VPN
public static final PeerConnection.AdapterType LOOPBACK
public static final PeerConnection.AdapterType ADAPTER_TYPE_ANY
public static PeerConnection.AdapterType[] values()
for (PeerConnection.AdapterType c : PeerConnection.AdapterType.values()) System.out.println(c);
public static PeerConnection.AdapterType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null6.0.0