public enum ButtonRequestType extends Enum<ButtonRequestType>
Enum to provide the following to high level messages:
Enum Constant and Description |
---|
ADDRESS
Confirm address generation
|
CONFIRM_OUTPUT
Confirm an output
|
CONFIRM_WORD
Confirm a word
|
FEE_OVER_THRESHOLD
Unexpectedly high fee
|
FIRMWARE_CHECK
Confirm firmware check
|
OTHER
Catch-all for messages
|
PROTECT_CALL
Protected call confirm action
|
RESET_DEVICE
Confirm reset device
|
SIGN_TX
Confirm sign transaction
|
WIPE_DEVICE
Confirm wipe device
|
Modifier and Type | Method and Description |
---|---|
static ButtonRequestType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ButtonRequestType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ButtonRequestType OTHER
public static final ButtonRequestType FEE_OVER_THRESHOLD
public static final ButtonRequestType CONFIRM_OUTPUT
public static final ButtonRequestType RESET_DEVICE
public static final ButtonRequestType CONFIRM_WORD
public static final ButtonRequestType WIPE_DEVICE
public static final ButtonRequestType PROTECT_CALL
public static final ButtonRequestType SIGN_TX
public static final ButtonRequestType FIRMWARE_CHECK
public static final ButtonRequestType ADDRESS
public static ButtonRequestType[] values()
for (ButtonRequestType c : ButtonRequestType.values()) System.out.println(c);
public static ButtonRequestType 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 © 2013–2016 Bitcoin Solutions Ltd. All rights reserved.