PebbleOS
Loading...
Searching...
No Matches
Enumerations | Functions
alerts.h File Reference
#include <stdbool.h>
#include <pbl/services/notifications/notification_types.h>

Enumerations

enum  AlertType {
  AlertInvalid = NotificationInvalid , AlertMobile = NotificationMobile , AlertPhoneCall = NotificationPhoneCall , AlertOther = NotificationOther ,
  AlertReminder = NotificationReminder
}
 Kind of alert, mirroring NotificationType. More...
 

Functions

void alerts_incoming_alert_analytics ()
 Record analytics for an incoming alert.
 
bool alerts_should_notify_for_type (AlertType type)
 Check whether the user should be notified at all.
 
bool alerts_should_enable_backlight_for_type (AlertType type)
 Check whether the backlight should turn on for an alert.
 
bool alerts_should_vibrate_for_type (AlertType type)
 Check whether the watch should vibrate for an alert.
 
void alerts_set_notification_vibe_timestamp ()
 Record that the watch vibrated for a notification.