WearLocalDataStore

class WearLocalDataStore<T>(wearDataLayerRegistry: WearDataLayerRegistry, started: SharingStarted = SharingStarted.Eagerly, coroutineScope: CoroutineScope, serializer: Serializer<T>, path: String) : DataStore<T>

Constructors

Link copied to clipboard
constructor(wearDataLayerRegistry: WearDataLayerRegistry, started: SharingStarted = SharingStarted.Eagerly, coroutineScope: CoroutineScope, serializer: Serializer<T>, path: String)

Properties

Link copied to clipboard
open override val data: Flow<T>
Link copied to clipboard
val dataClient: DataClient

Functions

Link copied to clipboard
open suspend override fun updateData(transform: suspend (t: T) -> T): T