public static enum MetaWearBoard.DfuProgressHandler.State extends java.lang.Enum<MetaWearBoard.DfuProgressHandler.State>
Enum Constant and Description |
---|
DISCONNECTING
Disconnecting from the board
|
DOWNLOADING
Downloading the new firmware from the internet
|
INITIALIZING
Preparing the board and library for the update
|
STARTING
Starting the update
|
VALIDATING
Validating the firmware upload
|
Modifier and Type | Method and Description |
---|---|
static MetaWearBoard.DfuProgressHandler.State |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MetaWearBoard.DfuProgressHandler.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MetaWearBoard.DfuProgressHandler.State DOWNLOADING
public static final MetaWearBoard.DfuProgressHandler.State INITIALIZING
public static final MetaWearBoard.DfuProgressHandler.State STARTING
public static final MetaWearBoard.DfuProgressHandler.State VALIDATING
public static final MetaWearBoard.DfuProgressHandler.State DISCONNECTING
public static MetaWearBoard.DfuProgressHandler.State[] values()
for (MetaWearBoard.DfuProgressHandler.State c : MetaWearBoard.DfuProgressHandler.State.values()) System.out.println(c);
public static MetaWearBoard.DfuProgressHandler.State 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