TargetNodeId

interface TargetNodeId

A selector for a Node to connect with over the data client without needing to resolve ahead of time. The implementations could be anything from a hardcoded value to querying the CapabilityClient.

Inheritors

Types

Link copied to clipboard
object Companion
Link copied to clipboard

A reference to the single paired node for the connected phone. All wear devices must have a single connected device, although it may not be available.

Link copied to clipboard
class SpecificNodeId(val nodeId: String) : TargetNodeId

A reference to a specific node id, via prior configuration.

Link copied to clipboard

A reference to the Node for this device.

Functions

Link copied to clipboard
abstract suspend fun evaluate(dataLayerRegistry: WearDataLayerRegistry): String?

Return the node id for the given strategy.