OptionalpermissionsAsks whether one of the plugin's own permissions works right now, taking it as the appinfo declares
it, such as Timeline or Internet/finnhub.io. It answers granted when using it will work,
prompt when the wearer has to allow it first in the Pebble app, and denied when the wearer
turned it off. It does not count as using the permission, and the answer can change without the
wearer doing anything. Left out on a Pebble app too old to have it.
OptionaldeleteHands the Pebble app a pin id to take off the timeline. An unknown id is dropped without a word. Left out as insertTimelinePin is.
OptionalinsertHands a pin to the Pebble app, to put on the timeline or to change the one with its id. It answers
nothing and never rejects. A pin the plugin has no Timeline grant for, or one that does not parse,
is dropped without a word, so a pin handed over is not a pin on the watch. It throws only when the
pin cannot be turned into JSON. Left out on a Pebble app from before 1.18.0. insertPin in
ts/plugin-app/timeline.ts calls it safely.
OptionalshowShows a notification on the watch, with a pin's layout and actions. Needs ShowNotifications, and
answers nothing. Left out as insertTimelinePin is.
A plugin app script's
Pebble.