Pebble App Framework: Phone API
    Preparing search index...

    Function weatherLocations

    • Reads the wearer's places from the Pebble app's built-in Preferences plugin.

      It subscribes to them as well, so the Pebble app runs the plugin again when the wearer changes the list. Naming the built-in by its uuid reaches it whichever plugin the wearer prefers. A place with no coordinates is left out, as placesFrom leaves it. A read the Pebble app refuses, such as one before the wearer allows Location, hands back no places and the reason, or NO_REASON when the refusal names none.

      Parameters

      Returns Promise<{ error?: string; places: WeatherPlace[] }>

      The places in the wearer's order, and the reason when the read failed.