pebble
  • Tutorials
  • Get the SDK
  • Guides
  • Documentation
  • Examples
  • Community
  • Blog
  • More
Privacy
Cookies
Publish

Pebble JavaScript API

  • Pebble C API
  • Pebble JavaScript API
  • PebbleKit JS
  • PebbleKit iOS
  • PebbleKit Android

Pebble Rocky.js API Documentation

Pebble's JavaScript API allows developers to write watchfaces in JavaScript, that are executed via the firmware's JerryScript engine. For instructions on getting started with Pebble's JavaScript API, see the JS Watchface Tutorial.

The JavaScript API is broken down into the following modules:



The JavaScript API also includes the following global functions:


To learn more about how to use this part of the Pebble SDK, check out the JavaScript Watchface tutorial, which also includes links to example apps.


Web API by Mozilla Contributors is licensed under CC-BY-SA 2.5.