SystemUpdate.SystemUpdateState.OverrideReason

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 functions

java-static SystemUpdate.SystemUpdateState.OverrideReason.Builder!
java-static SystemUpdate.SystemUpdateState.OverrideReason!
abstract Int!

OEM supplied reason code.

abstract String!

OEM supplied reason description.

abstract SystemUpdate.SystemUpdateState.OverrideReason.OverrideReasonType!

Reason type for overriding the UUC instruction.

abstract SystemUpdate.SystemUpdateState.OverrideReason.Builder!

Public functions

getDefaultInstance

java-static fun getDefaultInstance(): SystemUpdate.SystemUpdateState.OverrideReason!

getOemReasonCode

abstract fun getOemReasonCode(): Int!

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

getOemReasonDescription

abstract fun getOemReasonDescription(): String!

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

abstract fun getReasonType(): SystemUpdate.SystemUpdateState.OverrideReason.OverrideReasonType!

Reason type for overriding the UUC instruction.