PebbleOS
Loading...
Searching...
No Matches
Functions
Calendar events

Tracks whether a calendar event is ongoing. More...

Functions

const TimelineEventImpl * calendar_get_event_service (void)
 Get the timeline event service callbacks of the calendar.
 
bool calendar_event_is_ongoing (void)
 Check whether a calendar event is ongoing, for smart Do Not Disturb.
 

Detailed Description

Tracks whether a calendar event is ongoing.

Posts a PEBBLE_CALENDAR_EVENT telling whether one or more calendar events (non all-day calendar pins) are ongoing. Not every event start or end produces one, but every transition does.

Function Documentation

◆ calendar_event_is_ongoing()

bool calendar_event_is_ongoing ( void  )

Check whether a calendar event is ongoing, for smart Do Not Disturb.

Returns
true if one is ongoing.

◆ calendar_get_event_service()

const TimelineEventImpl * calendar_get_event_service ( void  )

Get the timeline event service callbacks of the calendar.

Returns
Callbacks.