Interface WearableStateListener


public interface WearableStateListener

Notified when the link to the peer app changes.

Use it to enable or disable the parts of your UI that need a live peer -- a "send to watch" button, say -- rather than polling WearableConnection.isReachable(). Callbacks arrive on the EDT.

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Called when reachability, pairing or peer-app installation changes.