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

    Function readPebbleAppPreferences

    • Reads the wearer's preferences from the Pebble app's built-in Preferences plugin, by its uuid, so it reaches the built-in whichever plugin the wearer prefers. It makes no subscription.

      A read the Pebble app refuses answers no preferences and the reason, such as PERMISSION_DENIED, or NO_REASON when the refusal names none. Any other reply answers the preferences as preferencesFrom reads them.

      Parameters

      Returns Promise<{ error?: string; preferences: PebbleAppPreferences | null }>

      The preferences, or null and the reason there are none.