ProtoDataStoreHelper

Helper methods for accessing the DataStore for the Data Layer, using reflection to lookup the serializer.

Functions

Link copied to clipboard
inline fun <T : Any> WearDataLayerRegistry.protoDataStore(coroutineScope: CoroutineScope): DataStore<T>
Link copied to clipboard
inline fun <T : Any> WearDataLayerRegistry.protoFlow(node: TargetNodeId): Flow<T>