Class: $.ViewController
- Inherits:
-
Toybox.Lang.Object
-
Toybox.Lang.Object
-
Overview
Instance Member Summary collapse
Instance Method Summary collapse
-
getDeviceView(scanResult as BluetoothLowEnergy.ScanResult) as [ WatchUi.Views, WatchUi.InputDelegates ]
Get the device view and delegate.
-
getInitialView() as [ WatchUi.Views ] or [ WatchUi.Views, WatchUi.InputDelegates ]
Return the initial views for the app.
-
initialize(modelFactory as $.DataModelFactory)
Constructor.
-
pushDeviceView(scanResult as BluetoothLowEnergy.ScanResult) as Void
Push the device view.
-
pushScanMenu() as Void
Push the scan menu view.
Instance Attribute Details
var _modelFactory as $.DataModelFactory
Instance Method Details
getDeviceView(scanResult as BluetoothLowEnergy.ScanResult) as [ WatchUi.Views, WatchUi.InputDelegates ]
Get the device view and delegate
getInitialView() as [ WatchUi.Views ] or [ WatchUi.Views, WatchUi.InputDelegates ]
Return the initial views for the app
initialize(modelFactory as $.DataModelFactory)
Constructor
pushDeviceView(scanResult as BluetoothLowEnergy.ScanResult) as Void
Push the device view
pushScanMenu() as Void
Push the scan menu view