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

    Function insertPin

    • Hands a pin to the Pebble app, to put on the timeline or to change the one with its id. Call it before answering the request, since the run ends once it is answered.

      Parameters

      Returns Promise<PinResult>

      Whether the call was handed over, and the reason when it was not. A pin handed over can still be dropped, such as for want of Timeline. It never throws or rejects.