SoftwareInfo.SystemUpdateInfo.UpdateStatus

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 functions

java-static SoftwareInfo.SystemUpdateInfo.UpdateStatus!
valueOf(name: String!)

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

java-static Array<SoftwareInfo.SystemUpdateInfo.UpdateStatus!>!

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

Enum Values

OS_UPDATE_AVAILABLE

val SoftwareInfo.SystemUpdateInfo.UpdateStatus.OS_UPDATE_AVAILABLESoftwareInfo.SystemUpdateInfo.UpdateStatus

There is a pending OS update available.

SECURITY_UPDATE_AVAILABLE

val SoftwareInfo.SystemUpdateInfo.UpdateStatus.SECURITY_UPDATE_AVAILABLESoftwareInfo.SystemUpdateInfo.UpdateStatus

There is a pending security update available.

UNKNOWN_UPDATE_AVAILABLE

val SoftwareInfo.SystemUpdateInfo.UpdateStatus.UNKNOWN_UPDATE_AVAILABLESoftwareInfo.SystemUpdateInfo.UpdateStatus

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

UPDATE_STATUS_UNKNOWN

val SoftwareInfo.SystemUpdateInfo.UpdateStatus.UPDATE_STATUS_UNKNOWNSoftwareInfo.SystemUpdateInfo.UpdateStatus

It is unknown whether there is a pending system update.

UP_TO_DATE

val SoftwareInfo.SystemUpdateInfo.UpdateStatus.UP_TO_DATESoftwareInfo.SystemUpdateInfo.UpdateStatus

There is no pending system update available on the device.

Public functions

valueOf

java-static fun valueOf(name: String!): SoftwareInfo.SystemUpdateInfo.UpdateStatus!

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

java-static fun values(): Array<SoftwareInfo.SystemUpdateInfo.UpdateStatus!>!

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
Array<SoftwareInfo.SystemUpdateInfo.UpdateStatus!>!

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