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

    Variable default

    default: {
        STOCK_PROPERTIES: string[];
        STOCK_TEXTS: PluginSourceTexts;
        stockErrorStatus: (code: string | null | undefined) => string | undefined;
        stocksFromUpdate: (
            envelope: SourceEnvelope | null | undefined,
        ) => StockQuote[];
    }

    Type Declaration

    • STOCK_PROPERTIES: string[]

      The properties the stock subscription asks for. The first five are Pebble's, and the rest are the ones a framework plugin app adds that the mapping reads.

    • STOCK_TEXTS: PluginSourceTexts

      The stock page hook's rows, which show only while the plugin is picked. On a face whose providers list is the plugin alone they always show, and the one for no plugin joins them.

      The Pebble app has no stock plugin of its own, so a phone with plugins on and nothing serving the quotes is missing one rather than switched off, and the rows for it say where to get one. A phone with plugins off still gets the line saying to turn them on, from the page and the panel.

    • stockErrorStatus: (code: string | null | undefined) => string | undefined
    • stocksFromUpdate: (envelope: SourceEnvelope | null | undefined) => StockQuote[]