| com.google.android.gms.wearable.NodeApi.NodeListener |
Known Indirect Subclasses
| |||||||||||||
Used with addListener(GoogleApiClient, NodeApi.NodeListener) to receive node events.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Notification that a peer is now reachable by this node.
| |||||||||||
Notification that a peer has been disconnected from this node or is no longer reachable
by this node.
| |||||||||||
Notification that a peer is now reachable by this node. It may be directly connected to this node or it may be reachable only via a directly connected node.
Changes to a node's hop count or nearby status alone will not trigger an
onPeerConnected(Node) event as long as the node was already connected.
Since multiple nodes can be connected to a network at the same time, peer connected and disconnected events can come in any order.
Notification that a peer has been disconnected from this node or is no longer reachable by this node.
Since multiple nodes can be connected to a network at the same time, peer connected and disconnected events can come in any order.