androidx.datastore.core


Interfaces

Closeable

Datastore common version of java.io.Closeable

DataMigration

Interface for migrations to DataStore.

DataStore

DataStore provides a safe and durable way to store small amounts of data, such as preferences and application state.

InterProcessCoordinator

InterProcessCoordinator provides functionalities that support DataStore instances to coordinate the concurrent work running on multiple threads and multiple processes to guarantee its data consistency.

ReadScope

The scope used for a read transaction.

Serializer

The serializer determines the on-disk format and API for accessing it.

Storage

Storage provides a way to create StorageConnections that allow read and write a particular type of data.

StorageConnection

StorageConnection provides a way to read and write a particular type of data.

WriteScope

The scope used for a write transaction.

Classes

Exceptions

CorruptionException

A subclass of IOException that indicates that the file could not be de-serialized due to data format corruption.

IOException

Common IOException to be defined in jvm and native code.