Class: $.NordicThingyApp
- Inherits:
-
Application.AppBase
-
Application.AppBase
-
Overview
This app uses the Bluetooth Low Energy API to pair with devices.
Instance Member Summary collapse
- _bleDelegate as $.ThingyDelegate or Null
- _modelFactory as $.DataModelFactory or Null
- _profileManager as $.ProfileManager or Null
- _viewController as $.ViewController or Null
Instance Method Summary collapse
-
getInitialView() as [ WatchUi.Views ] or [ WatchUi.Views, WatchUi.InputDelegates ]
Return the initial views for the app.
-
getSensorConfigurationView(sensor as Sensor.SensorInfo) as [ WatchUi.Views ] or [ WatchUi.Views, WatchUi.InputDelegates ]
Get the configuration view when pairing a sensor.
-
getSensorDelegate() as Sensor.SensorDelegate or Null
Get the sensor delegate for the app when pairing.
-
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 Attribute Details
var _bleDelegate as $.ThingyDelegate or Null
var _modelFactory as $.DataModelFactory or Null
var _profileManager as $.ProfileManager or Null
var _viewController as $.ViewController or Null
Instance Method Details
getInitialView() as [ WatchUi.Views ] or [ WatchUi.Views, WatchUi.InputDelegates ]
Return the initial views for the app
getSensorConfigurationView(sensor as Sensor.SensorInfo) as [ WatchUi.Views ] or [ WatchUi.Views, WatchUi.InputDelegates ]
Get the configuration view when pairing a sensor
getSensorDelegate() as Sensor.SensorDelegate or Null
Get the sensor delegate for the app when pairing
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