Skip to content

GlassesLayout:clearAndDisplay

since 26.1.0

Clear layout and display text.

layout:clearAndDisplay(text)

Parameters

Name Type Required Description
text string yes

Returns

Nothing.

Examples

From the official Ethos documentation
local function wakeup(context)
  context.layout:clearAndDisplay("ARMED!")
end