CarAppDataStoreKey

sealed class CarAppDataStoreKey<T>

This class contains all the data store preferences.

To add a new value, make sure your new preferenceKey does not collide with existing keys. To change an existing value, consider implementing migrations so the preferences are not lost. To test your code using the data store, see TestCarAppDataStoreOwner

Functions

equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open fun hashCode(): Int
toString
Link copied to clipboard
open fun toString(): String

Properties

defaultValue
Link copied to clipboard
val defaultValue: T
preferenceKey
Link copied to clipboard
val preferenceKey: Preferences.Key<T>

Inheritors

StoreAudioGuidanceMuted
Link copied to clipboard