|
PebbleOS
|
Layout of health pins (LayoutIdHealth) and Health app launch arguments. More...
Data Structures | |
| struct | HealthLaunchArgs |
| Launch arguments of the Health app, shared with insights to open the right card. More... | |
| struct | MetricData |
| Display state of a metric. More... | |
| struct | HealthLayout |
| Health pin layout. More... | |
| union | HealthLaunchArgs.__unnamed83__ |
| Arguments. More... | |
| struct | HealthLaunchArgs.__unnamed83__.__unnamed85__ |
| Decoded arguments. More... | |
Macros | |
| #define | HEALTH_METRIC_BUFFER_LENGTH 128 |
| Size of a health metric text buffer, in bytes. | |
Enumerations | |
| enum | HealthCardType { HealthCardType_Activity = 0 , HealthCardType_Sleep , HealthCardTypeCount } |
| Health app cards. More... | |
| enum | ActivitySessionMetric { ActivitySessionMetric_Duration = 0 , ActivitySessionMetric_Calories , ActivitySessionMetric_Distance , ActivitySessionMetric_Pace , ActivitySessionMetricCount } |
| Metrics of an activity session. More... | |
Functions | |
| LayoutLayer * | health_layout_create (const LayoutLayerConfig *config) |
| Create a health layout. | |
| bool | health_layout_verify (bool existing_attributes[]) |
| Check the attributes of a health pin. | |
Layout of health pins (LayoutIdHealth) and Health app launch arguments.
| struct HealthLaunchArgs |
Launch arguments of the Health app, shared with insights to open the right card.
| Data Fields | ||
|---|---|---|
| union HealthLaunchArgs.__unnamed83__ | __unnamed__ | Arguments. |
| struct MetricData |
| struct HealthLayout |
Health pin layout.
| Data Fields | ||
|---|---|---|
| MetricData | metric_data[ActivitySessionMetricCount] | Display state of each activity session metric. |
| TimelineLayout | timeline_layout | Base timeline layout. |
| union HealthLaunchArgs.__unnamed83__ |
Arguments.
| Data Fields | ||
|---|---|---|
| struct HealthLaunchArgs.__unnamed83__.__unnamed85__ | __unnamed__ | Decoded arguments. |
| uint32_t | args | Raw launch argument value. |
| struct HealthLaunchArgs.__unnamed83__.__unnamed85__ |
Decoded arguments.
| Data Fields | ||
|---|---|---|
| HealthCardType | card_type: 8 | Card to open. |
| #define HEALTH_METRIC_BUFFER_LENGTH 128 |
Size of a health metric text buffer, in bytes.
| enum HealthCardType |
| LayoutLayer * health_layout_create | ( | const LayoutLayerConfig * | config | ) |
Create a health layout.
| config | Configuration; its context must be a TimelineLayoutInfo. |
| bool health_layout_verify | ( | bool | existing_attributes[] | ) |
Check the attributes of a health pin.
| existing_attributes | Array of NumAttributeIds flags, indexed by AttributeId. |