Skip to main content

Setting Types Reference

This page provides detailed reference documentation for all setting-related types and interfaces in the MentraOS SDK.

Enums

AppSettingType

Enumeration of all available setting types.

Interfaces

BaseAppSetting

Base interface for all app settings.

Setting Type Definitions

ToggleSetting

Boolean on/off switch setting.
Example:

TextSetting

Single-line text input setting.
Example:

TextNoSaveButtonSetting

Multi-line text input without save button. Updates on blur.
Example:

SelectSetting

Dropdown selection from predefined options.
Example:

SelectWithSearchSetting

Dropdown with search functionality for long option lists.
Example:

MultiselectSetting

Multiple selection from options with checkboxes.
Example:

SliderSetting

Numeric value selection with slider control.
Example:

GroupSetting

Visual grouping of related settings. Not a setting itself.
Example:

TitleValueSetting

Read-only display of information.
Example:

AppSetting

Union type of all possible setting types.

AppSettings

Array of app settings.

Setting Change Types

SettingChange

Information about a single setting change.

SettingsChangeMap

Map of setting keys to their change information.

Callback Types

SettingsChangeHandler

Callback for when any setting changes.

SettingValueChangeHandler

Callback for when a specific setting value changes.