session.display to show content on the user’s glasses. Every display method sends content to the glasses HUD immediately, replacing whatever was previously shown.
Text Wall
The most common display method. Shows a block of text on the screen:Double Text Wall
Two text blocks side by side (or top and bottom, depending on the glasses model):Text
Show a simple text string. For short messages and status updates:Reference Card
A card with a title and body. Good for structured information:Dashboard Card
A compact card for the dashboard view:Bitmap
Send raw bitmap data to the display. For custom graphics and images:Clearing the Display
Remove all content from the screen:Views
Display content can target different views on the glasses:Duration
Control how long content stays on screen:Display Capabilities
Different glasses have different display capabilities. Some have one eye, some have two. Some support bitmaps, some only support text. Check what the connected glasses can do:Best Practices
Keep text concise. Glasses displays are small. Short messages are easier to read at a glance.showTextWall on every update. The display replaces the previous content instantly.
Use the right layout for the content. Text walls for flowing text, reference cards for structured data, double text walls for side-by-side comparison.
Migrating from v2
The API is the same, just onsession.display instead of session.layouts:

