PebbleOS v4.47.0-512-g5285d4236
Loading...
Searching...
No Matches
ancs_filtering.h File Reference

Functions

void ancs_filtering_record_app (iOSNotifPrefs **app_notif_prefs, const struct pbl_bt_ancs_attr *app_id, const struct pbl_bt_ancs_attr *display_name, const struct pbl_bt_ancs_attr *title)
 Record an app in the notification preferences database.
 
bool ancs_filtering_is_muted (const iOSNotifPrefs *app_notif_prefs)
 Check whether an app is muted now.
 
uint8_t ancs_filtering_get_mute_type (const iOSNotifPrefs *app_notif_prefs)
 Get the mute days of an app.
 
bool ancs_filtering_matches_rules (const iOSNotifPrefs *app_notif_prefs, const struct pbl_bt_ancs_attr *title, const struct pbl_bt_ancs_attr *subtitle, const struct pbl_bt_ancs_attr *body)
 Check whether a notification matches one of the app's filtering rules.