|
PebbleOS v4.47.0-512-g5285d4236
|
Macros | |
Longest values taken | |
The phone cuts the title, the subtitle and the message to theirs. | |
| #define | ANCS_APP_ID_MAX_LENGTH 60 |
| #define | ANCS_TITLE_MAX_LENGTH 128 |
| #define | ANCS_SUBTITLE_MAX_LENGTH 40 |
| #define | ANCS_MESSAGE_MAX_LENGTH 200 |
| #define | ANCS_DATE_LENGTH 15 |
| #define | ANCS_ACTION_MAX_LENGTH 10 |
Enumerations | |
| enum | ancs_notif_attr { ANCS_NOTIF_ATTR_POSITIVE_ACTION_LABEL , ANCS_NOTIF_ATTR_NEGATIVE_ACTION_LABEL , ANCS_NOTIF_ATTR_APP_ID , ANCS_NOTIF_ATTR_TITLE , ANCS_NOTIF_ATTR_SUBTITLE , ANCS_NOTIF_ATTR_MESSAGE , ANCS_NOTIF_ATTR_DATE , ANCS_NOTIF_ATTR_COUNT } |
| The attributes got of a notification, in the order they are asked for. More... | |
| enum | ancs_app_attr { ANCS_APP_ATTR_DISPLAY_NAME , ANCS_APP_ATTR_COUNT } |
| The attributes got of the app of a notification. More... | |
Functions | |
| void | ancs_notifications_handle_message (const struct pbl_bt_ancs_notif *notif, bool recovered, const struct pbl_bt_ancs_attr *const *notif_attributes, const struct pbl_bt_ancs_attr *const *app_attributes) |
| Handle a notification fetched from ANCS. | |
| void | ancs_notifications_handle_notification_removed (const struct pbl_bt_ancs_notif *notif) |
| Handle the removal of a notification from the iOS notification center. | |
| void | ancs_notifications_handle_access_denied (void) |
| Tell the user that iOS refuses to share notifications with this watch. | |
| void | ancs_notifications_handle_session_lost (void) |
| Record that the ANCS session went away. | |