Class: $.RecordSampleApp
- Inherits:
-
Application.AppBase
-
Application.AppBase
-
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
- _recordSampleView as $.RecordSampleView or Null
Instance Method Summary collapse
-
getInitialView() as [ WatchUi.Views ] or [ WatchUi.Views, WatchUi.InputDelegates ]
Return the initial view for the app.
-
initialize()
Constructor.
-
onPosition(info as Position.Info) as Void
Handle location updates.
-
onStart(state as Lang.Dictionary or Null) as Void
Handle app startup and enable location events to make sure GPS is on.
-
onStop(state as Lang.Dictionary or Null) as Void
Handle app shutdown.
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
initialize()
Constructor
onPosition(info as Position.Info) as Void
Handle location updates
onStart(state as Lang.Dictionary or Null) as Void
Handle app startup and enable location events to make sure GPS is on
onStop(state as Lang.Dictionary or Null) as Void
Handle app shutdown