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

    Function pebbleAppUnits

    • Reads the wearer's units from the Pebble app's built-in Preferences plugin and puts the plugin's own choices over them, for serving, which has to send some unit. A read the Pebble app refuses, or a reply that names none, leaves the defaults under the choices. A caller that has to tell those apart reads readPebbleAppUnits.

      Parameters

      Returns Promise<WeatherUnits>

      The units.