|
PebbleOS
|
Macros | |
| #define | ACTIVITY_INSIGHTS_SETTINGS_SLEEP_REWARD "sleep_reward" |
| Key of the sleep reward settings. | |
| #define | ACTIVITY_INSIGHTS_SETTINGS_SLEEP_SUMMARY "sleep_summary" |
| Key of the sleep summary settings. | |
| #define | ACTIVITY_INSIGHTS_SETTINGS_ACTIVITY_REWARD "activity_reward" |
| Key of the activity reward settings. | |
| #define | ACTIVITY_INSIGHTS_SETTINGS_ACTIVITY_SUMMARY "activity_summary" |
| Key of the activity summary settings. | |
| #define | ACTIVITY_INSIGHTS_SETTINGS_ACTIVITY_SESSION "activity_session" |
| Key of the activity session settings. | |
Functions | |
| bool | activity_insights_settings_read (const char *insight_name, ActivityInsightSettings *settings_out) |
| Read the settings of an insight. | |
| bool | activity_insights_settings_write (const char *insight_name, ActivityInsightSettings *settings) |
| Write the settings of an insight (testing). | |
| uint16_t | activity_insights_settings_get_version (void) |
| Get the version of the insights settings file contents. | |
| void | activity_insights_settings_init (void) |
| Initialize the insights settings file. | |
| PFSCallbackHandle | activity_insights_settings_watch (PFSFileChangedCallback callback) |
| Watch the insights settings file. | |
| void | activity_insights_settings_unwatch (PFSCallbackHandle cb_handle) |
| Stop watching the insights settings file. | |