sealed class StorageDomain

Known direct subclasses
StorageDomain.BinaryFile

Targets local raw binary files stored within internal app storage.

StorageDomain.CustomData

Targets data that device actions of your own seed and verify, such as a restore credential that only the app's code can create and read.

StorageDomain.DataStorePreference

Targets a preference of an on-device Preferences DataStore.

StorageDomain.Database

Targets structured SQLite/Room database records.

StorageDomain.ExcludedData

Targets data that the restore doesn't bring back, such as data that the app's backup rules exclude.

StorageDomain.Preference

Targets on-device SharedPreferences XML files.

StorageDomain.TextFile

Targets local raw text files stored within internal app storage.


Defines target data coordinates in the device sandbox that are seeded and verified.

Provides strongly-typed, compile-time safe data structures for zero-boilerplate testing. The framework uses these to automatically drive the bundled storage actions, or the actions of a CustomData.

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

Targets local raw binary files stored within internal app storage.

Targets data that device actions of your own seed and verify, such as a restore credential that only the app's code can create and read.

Targets a preference of an on-device Preferences DataStore.

Targets structured SQLite/Room database records.

Targets data that the restore doesn't bring back, such as data that the app's backup rules exclude.

Targets on-device SharedPreferences XML files.

Targets local raw text files stored within internal app storage.

Protected constructors

Protected constructors

StorageDomain

protected StorageDomain()