Pebble App Framework: Phone API
    Preparing search index...
    default: {
        CLEARING_CODES: readonly string[];
        createReadingDriver: <Reading>(
            mapping: ReadingMapping<Reading>,
        ) => (
            context: FeatureContext,
            controls: ReadingControls<Reading>,
        ) => FeatureHooks;
        wantedKey: (category: string, item: string) => string;
    }

    Type Declaration

    • CLEARING_CODES: readonly string[]

      The error codes that leave the watch with nothing it can trust. No plugin serves the kind, the phone has ended the subscription, or the wearer has not allowed the permission. Each one sends the reading for no plugin, which clears the watch's panel, and the page explains it.

    • createReadingDriver: <Reading>(
          mapping: ReadingMapping<Reading>,
      ) => (
          context: FeatureContext,
          controls: ReadingControls<Reading>,
      ) => FeatureHooks
    • wantedKey: (category: string, item: string) => string