-
public class ProtoDataStoreHelperHelper methods for accessing the DataStore for the Data Layer, using reflection to lookup the serializer.
-
-
Field Summary
Fields Modifier and Type Field Description public final static ProtoDataStoreHelperINSTANCE
-
Method Summary
Modifier and Type Method Description final <T extends Any> Flow<T>protoFlow(WearDataLayerRegistry $self, TargetNodeId node)final <T extends Any> DataStore<T>protoDataStore(WearDataLayerRegistry $self, CoroutineScope coroutineScope)final <T extends Any> UnitregisterProtoDataListener(WearDataLayerRegistry $self, ProtoDataListener<T> listener)-
-
Method Detail
-
protoFlow
final <T extends Any> Flow<T> protoFlow(WearDataLayerRegistry $self, TargetNodeId node)
-
protoDataStore
final <T extends Any> DataStore<T> protoDataStore(WearDataLayerRegistry $self, CoroutineScope coroutineScope)
-
registerProtoDataListener
final <T extends Any> Unit registerProtoDataListener(WearDataLayerRegistry $self, ProtoDataListener<T> listener)
-
-
-
-