Package 

Interface TargetNodeId


  • 
    public 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.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      public class TargetNodeId.ThisNodeId

      A reference to the Node for this device.

      public class TargetNodeId.PairedPhone

      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.

      public final class TargetNodeId.SpecificNodeId

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

      public class TargetNodeId.Companion
    • Method Summary

      Modifier and Type Method Description
      abstract String evaluate(WearDataLayerRegistry dataLayerRegistry) Return the node id for the given strategy.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait