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

    Interface FaceStart

    What a face's providers list makes of what the face hands startPebbleApp.

    interface FaceStart {
        defaults: Record<string, any>;
        hooks: FeatureHooks[];
        options: StartOptions;
        previewLoaders: PreviewLoaders;
        providers: Partial<Record<string, readonly string[]>> | null;
        fallbackPage(config: unknown[]): unknown[];
        launchSettled(): boolean;
        seedSettled(): boolean;
    }
    Index
    defaults: Record<string, any>

    The defaults that page declares, with each listed kind's provider default filled in.

    hooks: FeatureHooks[]

    The providers' own hooks, which run after every feature's. Empty for a face that lists none.

    options: StartOptions

    The face's options, with its settings page narrowed to the providers it lists.

    previewLoaders: PreviewLoaders

    The previews functions taken off the face's page, by the messageKey of the picker each belongs to, which the settings page calls as it opens. Clay never sees them. Empty for a face with none.

    providers: Partial<Record<string, readonly string[]>> | null

    The lists every feature reads from its context, or null for a face that lists none.

    • The page an open falls back to when the features' rows cannot be added, from the face's page as the start narrowed it. A face that lists none gets that page back with only its intro settled.

      Parameters

      • config: unknown[]

      Returns unknown[]

    • Whether the settle at launch changed the settings the phone had saved, which a watch that kept its own settings still has to hear. Asking clears it. Always false for a face that lists none.

      Returns boolean

    • Whether the last settings restore from the watch brought back something the providers' settle changed, which the watch then has to hear. Asking clears it. Always false for a face that lists none.

      Returns boolean