Glass Developers

Static Cards

Static cards appear within the history section of the timeline. Each card focuses on one thing, is visually clear, and is simple to read.

How they work

Static cards reside to the right of the Glass clock by default and display information relevant to the user at the time of delivery. However, they do not require immediate attention like live cards and users can choose to read or act on the card at their own leisure.

When Glassware inserts static cards into the timeline, Glass may play a notification sound to alert users. All previous static cards also shift to the right and disappear from the timeline after 7 days or when 200 cards are newer.

Special properties of static cards

The simplest static card consists of one card that is displayed in the history section of the timeline. A card can also take on other properties that affect its behavior and structure.

Paginated

Paginated cards spread content across many cards, because the content is too long. The content would otherwise make sense on one card. Examples include a single news story or a single email.

Tapping the card reveals a Read more action that reveals the rest of the content that users can swipe through.

Bundled

Bundles group together similar but distinct cards. Each card can stand on its own but bundles allow logical groupings of cards based on similiarity or creation time.

Bundles have a page curl at the top right corner notifying users more information is available. Tapping on a bundle reveals a sub-timeline of cards that users can swipe through.

bundle cover card

When to use them

Static cards are great for delivering periodic notifications to users as important things happen. There are three main elements that deliver static cards:

  1. A Mirror API service - For example, a news delivery service that sends the top news stories as they happen. Mirror API static cards can also start live cards or immersions through the OPEN_URI menu item. This allows you to create hybrid interactions that utilize static cards as notifications and a live card or immersion for a more interactive experience.

  2. An Android background service - For example, a service that monitors when users are close to certain locations and inserts information about that location.

  3. An immersion - For example, a user quits a game, and the game inserts status or summary information about the user's progress.

Authentication required

You need to be signed in with Google+ to do that.

Signing you in...

Google Developers needs your permission to do that.