Class: $.SensorTest
- Inherits:
-
Application.AppBase
-
Application.AppBase
-
Overview
This app shows how to use sensors. It displays the current heart rate, along with a time series graph of the heart rate from the last 20 seconds.
Instance Method Summary collapse
-
getInitialView() as [ WatchUi.Views ] or [ WatchUi.Views, WatchUi.InputDelegates ]
Return the initial view for the app.
-
initialize()
Constructor.
-
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
onStart(state as Lang.Dictionary or Null) as Void
Handle app startup
onStop(state as Lang.Dictionary or Null) as Void
Handle app shutdown