public enum FirmwareUpdatePolicy extends java.lang.Enum<FirmwareUpdatePolicy>
| Enum Constant and Description |
|---|
FIRMWARE_UPDATE_POLICY_DISABLED
Firmware update feature is disabled.
|
FIRMWARE_UPDATE_POLICY_NOT_SUPPORTED
Firmware update policy not supported.
|
FIRMWARE_UPDATE_POLICY_ONLY_IF_NEWER_AVAILABLE
Firmware update is automatically performed only if a newer firmware
compared with the current installed in the Cradle is available in the device.
|
FIRMWARE_UPDATE_POLICY_UNKNOWN
Unknown firmware update policy.
|
FIRMWARE_UPDATE_POLICY_USER_NOTIFICATION
A notification is shown to the user if a firmware update is available.
|
| Modifier and Type | Method and Description |
|---|---|
static FirmwareUpdatePolicy |
fromInt(int n)
Retrieves the corresponding FirmwareUpdatePolicy value, from a valid integer.
|
int |
toInt()
Converts the FirmwareUpdatePolicy enum to its integer representing value.
|
static FirmwareUpdatePolicy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FirmwareUpdatePolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FirmwareUpdatePolicy FIRMWARE_UPDATE_POLICY_UNKNOWN
public static final FirmwareUpdatePolicy FIRMWARE_UPDATE_POLICY_NOT_SUPPORTED
public static final FirmwareUpdatePolicy FIRMWARE_UPDATE_POLICY_DISABLED
public static final FirmwareUpdatePolicy FIRMWARE_UPDATE_POLICY_USER_NOTIFICATION
public static final FirmwareUpdatePolicy FIRMWARE_UPDATE_POLICY_ONLY_IF_NEWER_AVAILABLE
public static FirmwareUpdatePolicy[] values()
for (FirmwareUpdatePolicy c : FirmwareUpdatePolicy.values()) System.out.println(c);
public static FirmwareUpdatePolicy 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 nullpublic int toInt()
public static FirmwareUpdatePolicy fromInt(int n)
n - int