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

    Variable default

    default: {
        batteryFromUpdate: (
            envelope: SourceEnvelope | null | undefined,
        ) => number;
        NO_LEVEL: number;
        NO_PLUGIN_LEVEL: number;
        PHONE_PROPERTIES: string[];
        PHONE_TEXTS: PluginSourceTexts;
    }

    Type Declaration

    • batteryFromUpdate: (envelope: SourceEnvelope | null | undefined) => number
    • NO_LEVEL: number

      The level the watch takes for no reading, PHONE_NO_LEVEL on the watch.

    • NO_PLUGIN_LEVEL: number

      The level the watch takes while no plugin on the phone serves the battery, WIRE_NO_PLUGIN on the watch.

    • PHONE_PROPERTIES: string[]

      The properties the phone subscription asks for, the battery alone.

    • PHONE_TEXTS: PluginSourceTexts

      The phone battery page hook's notes.