Instruction

public abstract class Instruction


Instructions for the OTA client on how to handle various stages of the system update process. These instructions are derived from enterprise policy.

Summary

Nested types

public abstract class Instruction.Builder

Builder for Instruction.

The type of instruction to be enforced for a specific stage of the update process.

Public methods

static Instruction.Builder
abstract Instruction.InstructionType

Specifies how the APPLY stage of the update (installing the update) should be handled.

static Instruction
abstract Instruction.InstructionType

Specifies how the DOWNLOAD stage of the update should be handled.

abstract Instruction.Builder

Public methods

builder

public static Instruction.Builder builder()

getApplyInstruction

public abstract Instruction.InstructionType getApplyInstruction()

Specifies how the APPLY stage of the update (installing the update) should be handled.

getDefaultInstance

public static Instruction getDefaultInstance()

getDownloadInstruction

public abstract Instruction.InstructionType getDownloadInstruction()

Specifies how the DOWNLOAD stage of the update should be handled.

toBuilder

public abstract Instruction.Builder toBuilder()