public static enum NetworkInformation.NetworkType extends Enum<NetworkInformation.NetworkType>
| Enum Constant and Description |
|---|
bluetooth |
cellular |
ethernet |
none |
other |
unkown |
wifi |
wimax |
| Modifier and Type | Method and Description |
|---|---|
static NetworkInformation.NetworkType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NetworkInformation.NetworkType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NetworkInformation.NetworkType bluetooth
public static final NetworkInformation.NetworkType cellular
public static final NetworkInformation.NetworkType ethernet
public static final NetworkInformation.NetworkType none
public static final NetworkInformation.NetworkType wifi
public static final NetworkInformation.NetworkType wimax
public static final NetworkInformation.NetworkType other
public static final NetworkInformation.NetworkType unkown
public static NetworkInformation.NetworkType[] values()
for (NetworkInformation.NetworkType c : NetworkInformation.NetworkType.values()) System.out.println(c);
public static NetworkInformation.NetworkType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2020 XDEV Software Corp.. All rights reserved.