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

    Variable default

    default: {
        PLUGIN_KINDS_CLASS: string;
        PLUGIN_KINDS_TYPE: string;
        PLUGIN_LABEL: string;
        PLUGIN_VALUE: string;
        pluginKindState: (
            plugins: PluginSummary[] | null,
            category: string,
            item: string,
        ) => PluginKindState;
        PLUGINS_OFF_LABEL: string;
        PLUGINS_OFF_TEXT: string;
        pluginSourcePage: (
            page: ClayConfigItem[],
            given: PluginSourceInputs,
        ) => ClayConfigItem[];
    }

    Type Declaration

    • PLUGIN_KINDS_CLASS: string

      The class a face's component finds the input by. Its value is JSON mapping each kind the face reads from a plugin, by its name in the providers list, to its PluginKindState, such as {"weather":"served","music":"off"}. A kind the face does not read from a plugin is left out.

    • PLUGIN_KINDS_TYPE: string

      The row type the component draws.

    • PLUGIN_LABEL: string

      The label of the option that picks the Pebble app plugin.

    • PLUGIN_VALUE: string

      The value a select saves when the wearer picks the Pebble app plugin.

    • pluginKindState: (
          plugins: PluginSummary[] | null,
          category: string,
          item: string,
      ) => PluginKindState
    • PLUGINS_OFF_LABEL: string

      The label the option keeps while it is the saved choice and no plugin on the phone serves the item.

    • PLUGINS_OFF_TEXT: string

      The row under the select while the saved plugin choice has no plugin on the phone to serve it.

    • pluginSourcePage: (page: ClayConfigItem[], given: PluginSourceInputs) => ClayConfigItem[]