Pebble Foundation Classes
0.2.0
C++ for Pebble
|
#include <pebble.h>
Public Attributes | |
struct { | |
PublishedId icon | |
const char * subtitle_template_string | |
} | layout |
Describes how the slice should be visualized in the app's glance in the launcher. | |
time_t | expiration_time |
An app's glance can change over time as defined by zero or more app glance slices that each describe the state of the app glance at a particular point in time. Slices are displayed in the order they are added, and they are removed at the specified expiration time.
time_t AppGlanceSlice::expiration_time |
The UTC time after which this slice should no longer be shown in the app's glance. Use APP_GLANCE_SLICE_NO_EXPIRATION if the slice should never expire.
PublishedId AppGlanceSlice::icon |
The published resource ID of the bitmap icon to display in the app's glance. Use APP_GLANCE_SLICE_DEFAULT_ICON to use the app's default bitmap icon.
const char* AppGlanceSlice::subtitle_template_string |
A template string to visualize in the app's glance. The string will be copied, so it is safe to destroy after adding the slice to the glance. Use NULL if no string should be displayed.