Enum BleDeviceSession.DeviceCommand
-
- All Implemented Interfaces:
-
java.io.Serializable,kotlin.Comparable
public enum BleDeviceSession.DeviceCommand extends Enum<BleDeviceSession.DeviceCommand>
Device-control command that a DEVICE_COMMAND disconnect is expected to follow.
-
-
Field Summary
Fields Modifier and Type Field Description private final Stringnameprivate final Integerordinalprivate final EnumEntries<BleDeviceSession.DeviceCommand>entries
-
Enum Constant Summary
Enum Constants Enum Constant Description RESTARTFACTORY_RESETWAREHOUSE_SLEEPHIBERNATETURN_OFF
-
Method Summary
Modifier and Type Method Description final BleDeviceSession.DeviceCommandvalueOf(String value)Returns the enum constant of this type with the specified name. final Array<BleDeviceSession.DeviceCommand>values()Returns an array containing the constants of this enum type, in the order they're declared. final EnumEntries<BleDeviceSession.DeviceCommand>getEntries()Device-control command that a DEVICE_COMMAND disconnect is expected to follow. -
-
Method Detail
-
valueOf
final BleDeviceSession.DeviceCommand valueOf(String value)
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.)
-
values
final Array<BleDeviceSession.DeviceCommand> values()
Returns an array containing the constants of this enum type, in the order they're declared.
This method may be used to iterate over the constants.
-
getEntries
final EnumEntries<BleDeviceSession.DeviceCommand> getEntries()
Device-control command that a DEVICE_COMMAND disconnect is expected to follow.
-
-
-
-