Class: $.ApplicationStorage

Inherits:
Application.AppBase show all

Overview

This app demonstrates how to use app storage and app properties.

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 [View, Delegate]

initialize()

Constructor

onSettingsChanged() as Void

For this app all that needs to be done is trigger a WatchUi refresh since the settings are only used in onUpdate().

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:32 AM