BackupActionResult


public sealed class BackupActionResult

Known direct subclasses
BackupActionResult.Failure

Indicates that the device payload failed during execution or verification.

BackupActionResult.Success

Indicates that the device payload executed and verified successfully.


Represents the result of a delegated device payload execution.

Note: This sealed class is open to future additions. Consumers should use a non-exhaustive 'when' pattern-matching approach (incorporating an explicit 'else' branch) to ensure binary compatibility when new subclasses are introduced.

Summary

Nested types

Indicates that the device payload failed during execution or verification.

Indicates that the device payload executed and verified successfully.

Protected constructors

Public methods

final boolean

Returns true if this is a Success result.

Protected constructors

BackupActionResult

protected BackupActionResult()

Public methods

isSuccess

Added in 1.0.0-alpha01
public final boolean isSuccess()

Returns true if this is a Success result.