Pebble Foundation Classes  0.2.0
C++ for Pebble
EventService
Collaboration diagram for EventService:

Modules

 ConnectionService
 Determine what the Pebble watch is connected to.
 
 AppFocusService
 Handling app focus The AppFocusService allows developers to be notified when their apps become visible on the screen. Common reasons your app may be running but not be on screen are: it's still in the middle of launching and being revealed by a system animation, or it is being covered by a system window such as a notification. This service is useful for apps that require a high degree of user interactivity, like a game where you'll want to pause when a notification covers your app window. It can be also used for apps that want to sync up an intro animation to the end of the system animation that occurs before your app is visible.
 
 BatteryStateService
 Determines when the battery state changes.
 
 AccelerometerService
 Using the Pebble accelerometer.
 
 CompassService
 
 TickTimerService
 Handling time components.
 
 HealthService
 Get access to health information like step count, sleep totals, etc.
 

Detailed Description