Class: Toybox.WatchUi.ActionMenuItem

Overview

Class that represents an action menu item.

Since:

API Level 3.4.0

App Types:

  • Audio Content Provider

  • Data Field

  • Glance

  • Watch App

  • Watch Face

  • Widget

Supported Devices:

Typedef Summary collapse

Instance Method Summary collapse

Typedef Details

Options as { :label as Lang.String or Lang.ResourceId }

Since:

API Level 3.4.0

Instance Method Details

getId() as Lang.Object or Null

Get a MenuItem identifier.

Returns:

Since:

API Level 3.4.0

getLabel() as Lang.String

Get a MenuItem label.

Returns:

Since:

API Level 3.4.2

initialize(options as ActionMenuItem.Options, identifier as Lang.Object or Null)

Constructor

Parameters:

Since:

API Level 3.4.0


Generated Mar 4, 2025, 4:09:54 PM