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 |
StorageConnection |
StorageConnection provides a way to read and write a particular type |
WriteScope |
The scope used for a write transaction. |
Classes
CloseableKt |
|
FileStorage |
The Java IO File version of the Storage |
InterProcessCoordinatorKt |
|
MultiProcessCoordinatorKt |
|
StorageConnectionKt |
|
DataStoreFactory |
|
MultiProcessDataStoreFactory |
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. |