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

    Interface StockControls

    What the stock feature hands its plugin driver, beside the fetch controls.

    interface StockControls {
        imageSize?: ImageSize;
        settingKeys: string[];
        afterSave(run: () => void): void;
        askFetch(): void;
        fetch(force: boolean): void;
        forget(): void;
        forgetFetched(): void;
        send(reading: StockQuote[]): void;
        shutOut(): void;
        slowFetch(): void;
    }

    Hierarchy (View Summary)

    Index
    imageSize?: ImageSize

    The size the face wants the kind's images at, such as now playing art. Left out, it asks for none.

    settingKeys: string[]

    Every stock setting whose change is worth a refetch after a save, the feature's STOCK_KEYS.

    • Lets go of the strip and the stamps kept for the provider's old settings, and drops a round still out, as a save that changed them does on a face without plugins. The forced refetch after it then goes past the quota gate.

      Returns void