public static enum ICommunication.DeviceType extends java.lang.Enum<ICommunication.DeviceType>
| Enum Constant and Description |
|---|
BLUETOOTH
устройство подключено по bluetooth
|
NONETYPE
устройство не подключено
|
TCPIPTYPE
устройство подключено по Wi-Fi
|
USBTYPE
устройство подключено по USB
|
| Modifier and Type | Method and Description |
|---|---|
static ICommunication.DeviceType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ICommunication.DeviceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ICommunication.DeviceType NONETYPE
public static final ICommunication.DeviceType USBTYPE
public static final ICommunication.DeviceType TCPIPTYPE
public static final ICommunication.DeviceType BLUETOOTH
public static ICommunication.DeviceType[] values()
for (ICommunication.DeviceType c : ICommunication.DeviceType.values()) System.out.println(c);
public static ICommunication.DeviceType 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 null