public static enum Command.Type extends Enum<Command.Type>
Command.type()| Enum Constant and Description |
|---|
REBOOT |
UNKNOWN_TO_SDK_VERSION |
UNLOCK |
| Modifier and Type | Method and Description |
|---|---|
static Command.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Command.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Command.Type REBOOT
public static final Command.Type UNLOCK
public static final Command.Type UNKNOWN_TO_SDK_VERSION
public static Command.Type[] values()
for (Command.Type c : Command.Type.values()) System.out.println(c);
public static Command.Type 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 © 2023. All rights reserved.