PebbleOS
Loading...
Searching...
No Matches
Functions
ancs_filtering.h File Reference
#include <comm/ble/kernel_le_client/ancs/ancs_types.h>
#include <pbl/services/blob_db/ios_notif_pref_db.h>

Functions

void ancs_filtering_record_app (iOSNotifPrefs **app_notif_prefs, const ANCSAttribute *app_id, const ANCSAttribute *display_name, const ANCSAttribute *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 ANCSAttribute *title, const ANCSAttribute *subtitle, const ANCSAttribute *body)
 Check whether a notification matches one of the app's filtering rules.