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

    Function deletePin

    • Hands the Pebble app a pin id to take off the timeline. Call it before answering the request.

      Parameters

      • pebble: PluginPebble

        The plugin runtime's Pebble.

      • id: string

        The id the pin was inserted with.

      Returns Promise<PinResult>

      Whether the call was handed over, and the reason when it was not. An id the Pebble app does not know is dropped without a word. It never throws or rejects.