Pebble App Framework: Phone API
    Preparing search index...
    default: {
        CALENDAR_STANDARD: StandardReadings;
        declaresStandard: (
            plugin: PluginSummary | undefined,
            category: string,
            item: string,
            required: StandardReadings,
        ) => boolean;
        MUSIC_STANDARD: StandardReadings;
        PHONE_STANDARD: StandardReadings;
        servesItem: (
            plugins: PluginSummary[],
            category: string,
            item: string,
        ) => boolean;
        STOCK_STANDARD: StandardReadings;
        WEATHER_STANDARD: StandardReadings;
    }

    Type Declaration

    • CALENDAR_STANDARD: StandardReadings

      The readings a calendar plugin needs for an event to land on the agenda, the title and the start. The guide publishes no names for calendar/event, so these are the built-in calendar plugin's. The end stays optional, since the mapping gives an event with no end an hour, or a day when it is all day.

    • declaresStandard: (
          plugin: PluginSummary | undefined,
          category: string,
          item: string,
          required: StandardReadings,
      ) => boolean
    • MUSIC_STANDARD: StandardReadings

      The readings a music plugin needs for the face to show what is playing, as the Pebble app's own Music plugin names them under music/track. The artist stays optional, and a plugin leaving it out only leaves that line empty.

    • PHONE_STANDARD: StandardReadings

      The reading a phone plugin needs for the face to show the phone's battery, as the Pebble app's own Phone plugin names it under phone/phone_state.

    • servesItem: (plugins: PluginSummary[], category: string, item: string) => boolean
    • STOCK_STANDARD: StandardReadings

      The readings a stock plugin needs for a quote to land on the strip, the ticker and the price, as Pebble's own Stocks plugin names them under finance/stock. The changes stay optional, and a plugin leaving them out only leaves the change at nothing.

    • WEATHER_STANDARD: StandardReadings

      The readings a weather plugin needs for the face to show anything, the names Core's plugin guide gives the weather category. The rest stay optional, and a plugin leaving one out only leaves that readout on its dashes.