Documentation Index
Fetch the complete documentation index at: https://docs.mentraglass.com/llms.txt
Use this file to discover all available pages before exploring further.
MentraOS SDK Reference
Welcome to the reference for the MentraOS SDK. This section provides detailed information about all classes, interfaces, types, and enums available in the@mentra/sdk package.
Overview
The MentraOS SDK is organized into several main components:- Primary Classes: Core classes like
AppServerandAppSessionthat serve as the main entry points for app development - Manager Classes: Component classes like
EventManager,LayoutManager, andSettingsManagerthat handle specific functionalities - Enums: Enumeration types that define constants and options throughout the SDK
- Interfaces: Type definitions for configuration objects, events, layouts, settings, and messages
- Utilities: Helper functions and utility classes
How to Use This Reference
This reference is organized by component category. If you’re looking for:- How to create an app server, see the AppServer
- Event handling functionality, see the
EventManager - UI display capabilities, see the
LayoutManager - Settings management, see the
SettingsManager - Available event types, see the Event Types
- Layout options, see the Layout Types
- Setting types and interfaces, see the Setting Types
- Configuration interfaces, see the Config Types
- Webhook interfaces, see the Webhook Types
- Message interfaces, see the Message Types
- Token utilities, see the Token Utilities
- Resource management and utility functions, see the Utilities

