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

    Interface FeatureContext

    What the app shares with every feature it starts.

    interface FeatureContext {
        defaults: Record<string, unknown>;
        messageKeys: Record<string, number>;
        queueSend: (
            dict: AppMessageDict,
            onOk?: () => void,
            onFail?: () => void,
        ) => void;
        refetchDelayMs: number;
    }
    Index
    defaults: Record<string, unknown>

    The defaults declared in the face's Clay config, by message key.

    messageKeys: Record<string, number>

    The face's message keys, by name. A key the face does not declare reads as undefined.

    queueSend: (
        dict: AppMessageDict,
        onOk?: () => void,
        onFail?: () => void,
    ) => void

    Sends a dict to the watch through the one queue every send shares.

    refetchDelayMs: number

    How long after the settings page closes a changed setting waits before it refetches.