Class: $.SelectableApp

Inherits:
Application.AppBase show all

Overview

This app demonstrates how to use Selectables and Buttons. The app shows check box Selectable objects that can be highlighted and selected by holding and tapping on touch devices or by pressing menu and then up/down and select on non-touch devices.

Instance Method Summary collapse

Instance Method Details

getInitialView() as [ WatchUi.Views ] or [ WatchUi.Views, WatchUi.InputDelegates ]

Return the initial view for the app

Returns:

  • Array Pair [View, InputDelegate]

initialize()

Constructor

onStart(state as Lang.Dictionary or Null) as Void

Handle app startup

Parameters:

  • state —

    Startup arguments

onStop(state as Lang.Dictionary or Null) as Void

Handle app shutdown

Parameters:

  • state —

    Shutdown arguments


Generated Jun 9, 2026, 8:45:59 AM