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

    Function appFahrenheit

    • Whether the Pebble app's preferences/units update says °F.

      The Pebble app's built-in Preferences plugin serves the wearer's units as text, one instance with temperature reading °C or °F. It asks for no permission. An update the unit cannot be read from says nothing, so the weather keeps the unit it had.

      Parameters

      • envelope: SourceEnvelope | null | undefined

        One update from preferences/units, which may be missing or carry anything.

      Returns boolean | undefined

      True for °F, false for °C, or undefined when the update gives neither.