PebbleOS
Loading...
Searching...
No Matches
Macros | Enumerations | Functions
peek.h File Reference
#include "event.h"
#include <pbl/util/units.h>

Macros

#define TIMELINE_PEEK_DEFAULT_SHOW_BEFORE_TIME_S   (10 * PBL_SEC_PER_MIN)
 Default time before an event starts at which Timeline Peek shows it; configurable.
 
#define TIMELINE_PEEK_HIDE_AFTER_TIME_S   (10 * PBL_SEC_PER_MIN)
 Time after an event starts at which Timeline Peek hides it, unless it is persistent; not user configurable.
 

Enumerations

enum  TimelinePeekTimeType {
  TimelinePeekTimeType_None = 0 , TimelinePeekTimeType_SomeTimeNext , TimelinePeekTimeType_ShowWillStart , TimelinePeekTimeType_ShowStarted ,
  TimelinePeekTimeType_WillEnd
}
 Relation between now and the event of a Timeline Peek event. More...
 

Functions

const TimelineEventImpl * timeline_peek_get_event_service (void)
 Get the timeline event service callbacks of Timeline Peek.
 
void timeline_peek_set_show_before_time (unsigned int before_time_s)
 Set how long before an event starts Timeline Peek shows it, and refresh.