Package-level declarations

Types

Link copied to clipboard
data class NodeIdAndPath(val nodeId: String, val fullPath: Uri)
Link copied to clipboard
class ProtoDataListenerRegistration<T>(val path: String, val serializer: Serializer<T>, val listener: ProtoDataListener<T>)
Link copied to clipboard
class WearLocalDataStore<T>(wearDataLayerRegistry: WearDataLayerRegistry, started: SharingStarted = SharingStarted.Eagerly, coroutineScope: CoroutineScope, serializer: Serializer<T>, path: String) : DataStore<T>

Functions

Link copied to clipboard
fun <T> DataClient.dataItemFlow(nodeId: String, path: String, serializer: Serializer<T>, defaultValue: () -> T = { serializer.defaultValue }): Flow<T>