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

    Function putUnits

    • Puts a reading's units into a dict for the watch as the face's unit settings, each only when the face declares its key.

      Parameters

      • dict: Record<string, unknown>

        The dict going to the watch, changed in place.

      • messageKeys: Record<string, number>

        The face's message keys, by name.

      • units: { fahrenheit: boolean; wind?: number }

        The units, as a plugin's reading carries them.

      Returns void