SystemUpdate.SystemUpdateState.ReasonCase

public abstract class SystemUpdate.SystemUpdateState.ReasonCase


One of the override reason, prevention reason or abort reason for the current state of the system update.

Summary

Public methods

abortReason

public abstract SystemUpdate.SystemUpdateState.AbortReason abortReason()

Abort reason. An update is aborted when it is no longer available.

overrideReason

public abstract SystemUpdate.SystemUpdateState.OverrideReason overrideReason()

Override reason. An instruction is overridden when the OTA client proceeds with the update stage despite the BLOCK instruction or proceeds with the update stage without user confirmation for the USER_PROMPT instruction. When an instruction is overridden, a reason must be provided.

preventionReason

public abstract SystemUpdate.SystemUpdateState.PreventionReason preventionReason()

Prevention reason. An instruction is prevented when the OTA client is instructed to FORCE proceed or the client is instructed to USER_PROMPT and the user has provided confirmation but the OTA client is prevented from proceeding. (e.g., insufficient battery, no network).