Package com.creditcall.chipdnamobile
Enum DeviceStatus.DeviceStatusEnum
- java.lang.Object
-
- java.lang.Enum<DeviceStatus.DeviceStatusEnum>
-
- com.creditcall.chipdnamobile.DeviceStatus.DeviceStatusEnum
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<DeviceStatus.DeviceStatusEnum>
- Enclosing class:
- DeviceStatus
public static enum DeviceStatus.DeviceStatusEnum extends java.lang.Enum<DeviceStatus.DeviceStatusEnum>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DeviceStatusConnectedThe device is currently connected and has been sucessfully configured.DeviceStatusConnectedUnconfiguredThe device is currently connected, however has not been configured.DeviceStatusDisconnectedThe device is currently disconnected.DeviceStatusUnknownThe device connection is currently unknown.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DeviceStatus.DeviceStatusEnumvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static DeviceStatus.DeviceStatusEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DeviceStatusUnknown
public static final DeviceStatus.DeviceStatusEnum DeviceStatusUnknown
The device connection is currently unknown.
-
DeviceStatusDisconnected
public static final DeviceStatus.DeviceStatusEnum DeviceStatusDisconnected
The device is currently disconnected.
-
DeviceStatusConnected
public static final DeviceStatus.DeviceStatusEnum DeviceStatusConnected
The device is currently connected and has been sucessfully configured.
-
DeviceStatusConnectedUnconfigured
public static final DeviceStatus.DeviceStatusEnum DeviceStatusConnectedUnconfigured
The device is currently connected, however has not been configured.
-
-
Method Detail
-
values
public static DeviceStatus.DeviceStatusEnum[] 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 (DeviceStatus.DeviceStatusEnum c : DeviceStatus.DeviceStatusEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DeviceStatus.DeviceStatusEnum 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
-
-