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

    Function appWindUnit

    • The watch's wind unit for the Pebble app's preferences/units update, which names it as text in wind_speed, such as km/h or knots.

      Parameters

      • envelope: SourceEnvelope | null | undefined

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

      Returns number | undefined

      The number the watch's wind unit setting saves it as, or undefined when the update gives none.