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

    Function declaresStandard

    • Whether one plugin's manifest declares what a feature needs.

      The plugin passes when one block serving the item offers every needed property. Two blocks for one item are not read together, since the manifest has nothing that says which one the data follows.

      Parameters

      • plugin: PluginSummary | undefined

        One entry from the plugin list.

      • category: string

        The category the feature subscribes to, such as weather.

      • item: string

        The item inside it, such as location.

      • required: StandardReadings

        Each property the feature needs, mapped to the shapes that satisfy it.

      Returns boolean

      True when the plugin serves the item and declares every needed property.