Class: $.NordicThingyApp

Inherits:
Application.AppBase show all

Overview

This app uses the Bluetooth Low Energy API to pair with devices.

Instance Member Summary collapse

Instance Method Summary collapse

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

Returns:

  • Array Pair [View, InputDelegate]

getSensorConfigurationView(sensor as Sensor.SensorInfo) as [ WatchUi.Views ] or [ WatchUi.Views, WatchUi.InputDelegates ]

Get the configuration view when pairing a sensor

Parameters:

  • sensor —

    The sensor to configure

Returns:

  • Array Pair [View, InputDelegate] the view and input delegate for the configuration

getSensorDelegate() as Sensor.SensorDelegate or Null

Get the sensor delegate for the app when pairing

Returns:

  • SensorDelegate The sensor delegate for the ap

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:20:51 AM