|
PebbleOS
|
Data Structures | |
| struct | PebbleSysNotificationActionResult |
Result of an action, delivered in a PEBBLE_SYS_NOTIFICATION_EVENT. More... | |
Enumerations | |
| enum | ActionResultType { ActionResultTypeSuccess , ActionResultTypeFailure , ActionResultTypeChaining , ActionResultTypeDoResponse , ActionResultTypeSuccessANCSDismiss } |
| Outcome of an action invoked on a timeline item. More... | |
Functions | |
| void | notifications_init (void) |
| Initialize the notifications service. | |
| void | notifications_handle_notification_action_result (PebbleSysNotificationActionResult *action_result) |
| Post the result of an invoked action. | |
| void | notifications_handle_notification_added (Uuid *notification_id) |
| Announce that a notification was added to storage. | |
| void | notifications_handle_notification_acted_upon (Uuid *notification_id) |
| Announce that a stored notification was acted upon or updated on the phone. | |
| void | notifications_handle_notification_removed (Uuid *notification_id) |
| Announce that a notification was removed. | |
| void | notifications_migrate_timezone (const int new_tz_offset) |
| Shift the timestamps of all stored notifications after a timezone change. | |
| void | notifications_add_notification (TimelineItem *notification) |
| Store a notification and announce it to the system. | |