Google 致力于为黑人社区推动种族平等。查看具体举措

androidx.datastore.core

Interfaces

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.

Serializer

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

Exceptions

CorruptionException

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