Language

UpdateErrorCode Enum

Definition

public enum UpdateErrorCode
type UpdateErrorCode = 
Inheritance
UpdateErrorCode

Fields

Name Value Description
Unknown 1

Represents an unknown error while trying to install an update.

Android reference for android.app.admin.DevicePolicyManager.InstallSystemUpdateCallback.UPDATE_ERROR_UNKNOWN.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

IncorrectOsVersion 2

Represents the update file being intended for different OS version.

Android reference for android.app.admin.DevicePolicyManager.InstallSystemUpdateCallback.UPDATE_ERROR_INCORRECT_OS_VERSION.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

UpdateFileInvalid 3

Represents the update file being wrong; e.g. payloads are mismatched, or the wrong compression method is used.

Android reference for android.app.admin.DevicePolicyManager.InstallSystemUpdateCallback.UPDATE_ERROR_UPDATE_FILE_INVALID.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

FileNotFound 4

Represents that the file could not be found.

Android reference for android.app.admin.DevicePolicyManager.InstallSystemUpdateCallback.UPDATE_ERROR_FILE_NOT_FOUND.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

BatteryLow 5

Represents the battery being too low to apply an update.

Android reference for android.app.admin.DevicePolicyManager.InstallSystemUpdateCallback.UPDATE_ERROR_BATTERY_LOW.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to