Companion

object Companion

Functions

Link copied to clipboard
fun buildUri(nodeId: String, path: String): Uri
Link copied to clipboard
fun dataStorePath(t: KClass<*>, persisted: Boolean = false): String
Link copied to clipboard
fun fromContext(application: Context, coroutineScope: CoroutineScope): WearDataLayerRegistry

Create an instance looking up Wearable DataClient and NodeClient using the given context.

Link copied to clipboard
fun preferencesPath(name: String, persisted: Boolean = false): String