|
PebbleOS
|
Phone call events derived from ANCS notifications. More...
Functions | |
| void | ancs_phone_call_handle_incoming (uint32_t uid, ANCSProperty properties, ANCSAttribute **notif_attributes) |
| Post an incoming call event. | |
| void | ancs_phone_call_handle_removed (uint32_t uid, bool ios_9) |
| Post a hide call event, in response to an ANCS removal. | |
| bool | ancs_phone_call_should_ignore_missed_calls (void) |
| Check whether missed call notifications are being ignored. | |
| void | ancs_phone_call_temporarily_block_missed_calls (void) |
| Ignore missed call notifications for a few seconds. | |
Phone call events derived from ANCS notifications.
| void ancs_phone_call_handle_incoming | ( | uint32_t | uid, |
| ANCSProperty | properties, | ||
| ANCSAttribute ** | notif_attributes | ||
| ) |
Post an incoming call event.
| uid | ANCS UID of the incoming call notification. |
| properties | ANCS properties of the notification. |
| notif_attributes | Notification attributes; the title holds the caller name or number. |
| void ancs_phone_call_handle_removed | ( | uint32_t | uid, |
| bool | ios_9 | ||
| ) |
Post a hide call event, in response to an ANCS removal.
| uid | ANCS UID of the removed incoming call notification. |
| ios_9 | Whether the notification came from an iOS 9 or later device. |
| bool ancs_phone_call_should_ignore_missed_calls | ( | void | ) |
Check whether missed call notifications are being ignored.
| void ancs_phone_call_temporarily_block_missed_calls | ( | void | ) |
Ignore missed call notifications for a few seconds.
Called when a call is dismissed from the phone UI.