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

    Interface DedupedSender

    Sends one kind of message to the watch, skipping a send the watch already holds.

    interface DedupedSender {
        forget(): void;
        push(dict: AppMessageDict): void;
    }
    Index
    • Forgets what the watch holds, so the next push goes out whatever it carries.

      Returns void

    • Sends the dict, unless it matches the one the watch took last.

      Parameters

      • dict: AppMessageDict

      Returns void