Class: $.SimpleDataField

Inherits:
Application.AppBase show all

Overview

This app is a simple data field that alternates between showing heart rate, distance and total time. It also uses the data field settings and alerts.

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]

getSettingsView() as [ WatchUi.Views ] or [ WatchUi.Views, WatchUi.InputDelegates ] or Null

Return the settings view and delegate for the app

Returns:

  • Array Pair [View, Delegate]

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 Oct 20, 2026, 8:21:04 AM