If a timeline is a sequence of chronological events, a timeline item is an individual event. Every timeline item has a timestamp and some sort of payload, be it text or HTML, an attachment like an image or video, or a more abstract asset like a contact with a phone number to call.
You can create, read, update, and delete timeline items. We’ll dig a little deeper into creating some richer Lunch Roulette items.
The first action any Glassware app is likely to take is to create a new timeline item.
The Java code for creating a new card in the timeline is the timeline object’s insert method. You have to call the execute methods to send the new timeline change to the Mirror API; otherwise, you’ve just populated ...