Table of Contents

Struct BootDecision

Namespace
Pamoja.Update
Assembly
Pamoja.Update.dll

The decision a device made at boot, recorded before it was returned.

public readonly record struct BootDecision : IEquatable<BootDecision>
Implements
Inherited Members

Constructors

BootDecision(BootAction, byte, byte)

The decision a device made at boot, recorded before it was returned.

public BootDecision(BootAction Action, byte Slot, byte Fallback)

Parameters

Action BootAction

What the bootloader should do.

Slot byte

The image the decision is about, which for Reverted is the one that failed.

Fallback byte

The slot to run. It is the same as Slot for anything but Reverted.

Properties

Action

What the bootloader should do.

public BootAction Action { get; init; }

Property Value

BootAction

Fallback

The slot to run. It is the same as Slot for anything but Reverted.

public byte Fallback { get; init; }

Property Value

byte

Slot

The image the decision is about, which for Reverted is the one that failed.

public byte Slot { get; init; }

Property Value

byte