# androidx.datastore.core

*** ** * ** ***

## Interfaces

|---|---|
| `https://developer.android.com/reference/androidx/datastore/core/Closeable` | Datastore common version of java.io.Closeable |
| `https://developer.android.com/reference/androidx/datastore/core/CorruptionHandler` | CorruptionHandlers allow recovery from corruption that prevents reading data from the file (as indicated by a CorruptionException). |
| `https://developer.android.com/reference/androidx/datastore/core/DataMigration` | Interface for migrations to DataStore. |
| `https://developer.android.com/reference/androidx/datastore/core/DataStore` | DataStore provides a safe and durable way to store small amounts of data, such as preferences and application state. |
| `https://developer.android.com/reference/androidx/datastore/core/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. |
| `https://developer.android.com/reference/androidx/datastore/core/ReadScope` | The scope used for a read transaction. |
| `https://developer.android.com/reference/androidx/datastore/core/Serializer` | The serializer determines the on-disk format and API for accessing it. |
| `https://developer.android.com/reference/androidx/datastore/core/Storage` | Storage provides a way to create StorageConnections that allow read and write a particular type of data. |
| `https://developer.android.com/reference/androidx/datastore/core/StorageConnection` | StorageConnection provides a way to read and write a particular type of data. |
| `https://developer.android.com/reference/androidx/datastore/core/WriteScope` | The scope used for a write transaction. |

## Classes

|---|---|
| `https://developer.android.com/reference/androidx/datastore/core/CloseableKt` |   |
| `https://developer.android.com/reference/androidx/datastore/core/DataStore.Builder` | Builder for `https://developer.android.com/reference/androidx/datastore/core/DataStore`. |
| `https://developer.android.com/reference/androidx/datastore/core/DeviceProtectedDataStoreFile` |   |
| `https://developer.android.com/reference/androidx/datastore/core/FileStorage` | The Java IO File version of the Storage interface. |
| `https://developer.android.com/reference/androidx/datastore/core/InterProcessCoordinator_jvmKt` |   |
| `https://developer.android.com/reference/androidx/datastore/core/MultiProcessCoordinatorKt` |   |
| `https://developer.android.com/reference/androidx/datastore/core/StorageConnectionKt` |   |
| `https://developer.android.com/reference/androidx/datastore/core/DataStoreFactory` | Public factory for creating DataStore instances. |
| `https://developer.android.com/reference/androidx/datastore/core/MultiProcessDataStoreFactory` |   |

## Exceptions

|---|---|
| `https://developer.android.com/reference/androidx/datastore/core/CorruptionException` | A subclass of IOException that indicates that the file could not be de-serialized due to data format corruption. |
| `https://developer.android.com/reference/androidx/datastore/core/IOException` | Common IOException to be defined in jvm and native code. |