SoftwareInfo.SystemUpdateInfo.UpdateStatus

public enum SoftwareInfo.SystemUpdateInfo.UpdateStatus


The status of an update: whether an update exists and what type it is.

Summary

Enum Values

OS_UPDATE_AVAILABLE

There is a pending OS update available.

SECURITY_UPDATE_AVAILABLE

There is a pending security update available.

UNKNOWN_UPDATE_AVAILABLE

There is a pending system update available, but its type is not known.

UPDATE_STATUS_UNKNOWN

It is unknown whether there is a pending system update.

UP_TO_DATE

There is no pending system update available on the device.

Public methods

static SoftwareInfo.SystemUpdateInfo.UpdateStatus

Returns the enum constant of this type with the specified name.

static SoftwareInfo.SystemUpdateInfo.UpdateStatus[]

Returns an array containing the constants of this enum type, in the order they're declared.

Enum Values

SECURITY_UPDATE_AVAILABLE

SoftwareInfo.SystemUpdateInfo.UpdateStatus SoftwareInfo.SystemUpdateInfo.UpdateStatus.SECURITY_UPDATE_AVAILABLE

There is a pending security update available.

UNKNOWN_UPDATE_AVAILABLE

SoftwareInfo.SystemUpdateInfo.UpdateStatus SoftwareInfo.SystemUpdateInfo.UpdateStatus.UNKNOWN_UPDATE_AVAILABLE

There is a pending system update available, but its type is not known.

UPDATE_STATUS_UNKNOWN

SoftwareInfo.SystemUpdateInfo.UpdateStatus SoftwareInfo.SystemUpdateInfo.UpdateStatus.UPDATE_STATUS_UNKNOWN

It is unknown whether there is a pending system update.

UP_TO_DATE

SoftwareInfo.SystemUpdateInfo.UpdateStatus SoftwareInfo.SystemUpdateInfo.UpdateStatus.UP_TO_DATE

There is no pending system update available on the device.

Public methods

valueOf

public static SoftwareInfo.SystemUpdateInfo.UpdateStatus valueOf(String name)

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.)

Returns
SoftwareInfo.SystemUpdateInfo.UpdateStatus

the enum constant with the specified name

Throws
java.lang.IllegalArgumentException

if this enum type has no constant with the specified name

values

public static SoftwareInfo.SystemUpdateInfo.UpdateStatus[] 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.

Returns
SoftwareInfo.SystemUpdateInfo.UpdateStatus[]

an array containing the constants of this enum type, in the order they're declared