-
public class WearDataLayerRegistry.Companion
-
-
Field Summary
Fields Modifier and Type Field Description public final static WearDataLayerRegistry.CompanionINSTANCE
-
Method Summary
Modifier and Type Method Description final WearDataLayerRegistryfromContext(Context application, CoroutineScope coroutineScope)Create an instance looking up Wearable DataClient and NodeClient using the given context. final UribuildUri(String nodeId, String path)final StringdataStorePath(KClass<?> t, Boolean persisted)final StringpreferencesPath(String name, Boolean persisted)-
-
Method Detail
-
fromContext
final WearDataLayerRegistry fromContext(Context application, CoroutineScope coroutineScope)
Create an instance looking up Wearable DataClient and NodeClient using the given context.
-
dataStorePath
final String dataStorePath(KClass<?> t, Boolean persisted)
-
preferencesPath
final String preferencesPath(String name, Boolean persisted)
-
-
-
-