Pebble Foundation Classes
0.2.0
C++ for Pebble
|
Values recommended by the system. More...
Typedefs | |
typedef enum PreferredContentSize | PreferredContentSize |
Enumerations | |
enum | PreferredContentSize { PreferredContentSizeSmall, PreferredContentSizeMedium, PreferredContentSizeLarge, PreferredContentSizeExtraLarge, NumPreferredContentSizes } |
Functions | |
uint32_t | preferred_result_display_duration (void) |
PreferredContentSize | preferred_content_size (void) |
bool | quiet_time_is_active (void) |
Values recommended by the system.
typedef enum PreferredContentSize PreferredContentSize |
PreferredContentSize represents the display scale of all the app's UI components. The enum contains all sizes that all platforms as a whole are capable of displaying, but each individual platform may not be able to display all sizes.
enum PreferredContentSize |
PreferredContentSize represents the display scale of all the app's UI components. The enum contains all sizes that all platforms as a whole are capable of displaying, but each individual platform may not be able to display all sizes.
PreferredContentSize preferred_content_size | ( | void | ) |
Returns the user's preferred content size representing the scale of all the app's UI components should use for display.
uint32_t preferred_result_display_duration | ( | void | ) |
Get the recommended amount of milliseconds a result window should be visible before it should automatically close.
bool quiet_time_is_active | ( | void | ) |
Users can toggle Quiet Time manually or on schedule. Watchfaces and apps should respect this choice and avoid disturbing actions such as vibration if quiet time is active.