AssertStorageAction


class AssertStorageAction : BackupDeviceAction


Asserts the correctness of restored test data.

Parses the configuration from BackupDeviceActionArgs and verifies android.content.SharedPreferences, SQLite databases, or raw file contents in credential-encrypted or device-protected storage.

Summary

Public constructors

Public functions

open BackupDeviceActionResult

Runs the action payload.

Public properties

open Int

Lifecycle phase when this action runs.

Public constructors

AssertStorageAction

Added in 1.0.0-alpha01
AssertStorageAction()

Public functions

execute

open fun execute(context: Context, args: BackupDeviceActionArgs): BackupDeviceActionResult

Runs the action payload.

Parameters
context: Context

application context on the target device

args: BackupDeviceActionArgs

input arguments passed from the host orchestrator

Returns
BackupDeviceActionResult

result returned to the host

Public properties

phase

open val phaseInt

Lifecycle phase when this action runs.