com.google.android.glass.timeline

  • The glass.timeline package integrates into the Glass timeline experience and was added in API level XE12.

  • Key interfaces in this package include DirectRenderingCallback for SurfaceHolder.Callback and GlRenderer for rendering LiveCard using OpenGL ES 2.0.

  • The main class, LiveCard, allows for the creation and publishing of active cards on the timeline.

  • The LiveCard.PublishMode enum controls how a card is presented to the user upon publication.

Added in API level XE12
package

glass.timeline

Contains classes to integrate into the Glass timeline experience.

Interfaces

DirectRenderingCallback Additional callbacks that can be received for SurfaceHolder.Callback
GlRenderer Interface for rendering a LiveCard using the OpenGL ES 2.0 API. 

Classes

LiveCard This class lets you create active cards and publish them on the timeline. 

Enums

LiveCard.PublishMode Determines the way the card is presented to the user when published.