Help developers solve problems
Learn more
| com.google.android.gms.wearable.NodeApi |
Exposes an API for to learn about local or connected Nodes.
Node events are delivered to all applications on a device.
| Nested Classes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| NodeApi.GetConnectedNodesResult | Contains a list of connected nodes. | ||||||||||
| NodeApi.GetLocalNodeResult | Contains the name and id that represents this device. | ||||||||||
| NodeApi.NodeListener |
Used with addListener(GoogleApiClient, NodeApi.NodeListener) to receive node events.
|
||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Registers a listener to receive all node events.
| |||||||||||
Gets a list of
Nodes to which this device is currently connected.
| |||||||||||
Gets the
Node that refers to this device.
| |||||||||||
Removes a listener.
| |||||||||||
Registers a listener to receive all node events.
Gets a list of Nodes to which this device is currently connected.
Gets the Node that refers to this device. The information in Node can be passed
to other devices using MessageApi.
Removes a listener.