Class: $.RecordSampleApp

Inherits:
Application.AppBase show all

Overview

This app starts a FIT recording on a menu press and then stops and saves it on the next menu press.

Instance Member Summary collapse

Instance Method Summary collapse

Instance Attribute Details

var _recordSampleView as $.RecordSampleView or Null

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

onPosition(info as Position.Info) as Void

Handle location updates

Parameters:

  • info —

    Position.Info object

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

Handle app startup and enable location events to make sure GPS is on

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