SystemUpdate.SystemUpdateState.OverrideReason

public abstract class SystemUpdate.SystemUpdateState.OverrideReason


Reason for overriding BLOCK or USER_PROMPT instructions. A download BLOCK instruction is overridden when the OTA client proceeds with the download despite the BLOCK instruction. An apply BLOCK instruction is overridden when the OTA client proceeds with the installation despite the BLOCK instruction. A download USER_PROMPT instruction is overridden when the OTA client proceeds with the download without user confirmation. An apply USER_PROMPT instruction is overridden when the OTA client proceeds with the installation without user confirmation.

Summary

Nested types

Builder for SystemUpdate.SystemUpdateState.OverrideReason.

Reason type for overriding the BLOCK or USER_PROMPT instruction.

Public methods

getOemReasonCode

public abstract Integer getOemReasonCode()

OEM supplied reason code. This is communicated to the EMM and is not used by Android directly.

getOemReasonDescription

public abstract String getOemReasonDescription()

OEM supplied reason description. It has a maximum length of 128 characters. This is communicated to the EMM and is not used by Android directly.

getReasonType

public abstract SystemUpdate.SystemUpdateState.OverrideReason.OverrideReasonType getReasonType()

Reason type for overriding the UUC instruction.