Class: $.ApplicationStorage
- Inherits:
-
Application.AppBase
-
Application.AppBase
-
Overview
This app demonstrates how to use app storage and app properties.
Instance Method Summary collapse
-
getInitialView() as [ WatchUi.Views ] or [ WatchUi.Views, WatchUi.InputDelegates ]
Return the initial view for the app.
-
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.
-
onStop(state as Lang.Dictionary or Null) as Void
Handle app shutdown.
Instance Method Details
getInitialView() as [ WatchUi.Views ] or [ WatchUi.Views, WatchUi.InputDelegates ]
Return the initial view for the app
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
onStop(state as Lang.Dictionary or Null) as Void
Handle app shutdown