SystemUpdate.ApiLevelChange

public enum SystemUpdate.ApiLevelChange


Specifies whether the system update changes the Android API level.

Summary

Enum Values

API_LEVEL_CHANGE_UNSPECIFIED

Default value.

API_LEVEL_CHANGE_WITHOUT_API_LEVEL_CHANGE

An update that does not change the Android API level.

API_LEVEL_CHANGE_WITH_API_LEVEL_CHANGE

An update that changes the Android API level.

Public methods

static SystemUpdate.ApiLevelChange

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

static SystemUpdate.ApiLevelChange[]

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

Enum Values

API_LEVEL_CHANGE_UNSPECIFIED

SystemUpdate.ApiLevelChange SystemUpdate.ApiLevelChange.API_LEVEL_CHANGE_UNSPECIFIED

Default value. This should not be used.

API_LEVEL_CHANGE_WITHOUT_API_LEVEL_CHANGE

SystemUpdate.ApiLevelChange SystemUpdate.ApiLevelChange.API_LEVEL_CHANGE_WITHOUT_API_LEVEL_CHANGE

An update that does not change the Android API level. This includes security patches, bug fixes, performance improvements, or minor enhancements within the existing OS version.

API_LEVEL_CHANGE_WITH_API_LEVEL_CHANGE

SystemUpdate.ApiLevelChange SystemUpdate.ApiLevelChange.API_LEVEL_CHANGE_WITH_API_LEVEL_CHANGE

An update that changes the Android API level. This typically corresponds to a major OS version upgrade (e.g., from Android 14 to Android 15).

Public methods

valueOf

public static SystemUpdate.ApiLevelChange 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
SystemUpdate.ApiLevelChange

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 SystemUpdate.ApiLevelChange[] 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
SystemUpdate.ApiLevelChange[]

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