Pebble Foundation Classes
0.2.0
C++ for Pebble
|
#include <pebble.h>
Public Attributes | |
const uint32_t * | durations |
uint32_t | num_segments |
Data structure describing a vibration pattern. A pattern consists of at least 1 vibe-on duration, optionally followed by alternating vibe-off + vibe-on durations. Each segment may have a different duration.
Example code:
const uint32_t* VibePattern::durations |
Pointer to an array of segment durations, measured in milli-seconds. The maximum allowed duration is 10000ms.
uint32_t VibePattern::num_segments |
The length of the array of durations.