Instruction

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

abstract class Instruction.Builder

Builder for Instruction.

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

Public functions

java-static Instruction.Builder!
abstract Instruction.InstructionType!

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

java-static Instruction!
abstract Instruction.InstructionType!

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

abstract Instruction.Builder!

Public functions

builder

java-static fun builder(): Instruction.Builder!

getApplyInstruction

abstract fun getApplyInstruction(): Instruction.InstructionType!

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

getDefaultInstance

java-static fun getDefaultInstance(): Instruction!

getDownloadInstruction

abstract fun getDownloadInstruction(): Instruction.InstructionType!

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

toBuilder

abstract fun toBuilder(): Instruction.Builder!