AI-generated Key Takeaways
-
The
glass.timelinepackage integrates into the Glass timeline experience and was added in API level XE12. -
Key interfaces in this package include
DirectRenderingCallbackforSurfaceHolder.CallbackandGlRendererfor renderingLiveCardusing OpenGL ES 2.0. -
The main class,
LiveCard, allows for the creation and publishing of active cards on the timeline. -
The
LiveCard.PublishModeenum controls how a card is presented to the user upon publication.
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. |