All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups
Event Service

Detailed Description

APIs to handle event services.

Pebble OS provides you with a set of APIs for handling event services, like accelerometer taps, app focus for interactivity, battery states, Bluetooth connections, and tick timers to call when a time component has changed. You use event services to be notified, for example, when something happens on Pebble, like losing the connection to the phone or when a notification covers the screen and requires your Pebble game to pause.

Modules

 AccelerometerService
 Using the Pebble accelerometer.
 
 AppFocusService
 Handling app focus.
 
 BatteryStateService
 Determines when the battery state changes.
 
 BluetoothConnectionService
 Determine when Pebble is connected to the phone.
 
 CompassService
 The Compass Service combines information from Pebble's accelerometer and magnetometer to automatically calibrate the compass and transform the raw magnetic field information into a CompassHeading, that is an angle to north.
 
 TickTimerService
 Handling time components.