Class: $.AntView
Overview
Show the AntSensor data
Constant Summary
Constant Variables
| Type | Name | Value | Since | Description |
|---|---|---|---|---|
| Type | _uiUpdatePeriodMs | 500 |
Instance Member Summary collapse
- _sensor as AntModule.AntSensor
- _uiTimer as Timer.Timer
Instance Method Summary collapse
-
initialize(antSensor as AntModule.AntSensor)
Constructor.
-
onHide() as Void
Stop the ui timer when the screen is no longer being displayed.
-
onLayout(dc as Graphics.Dc) as Void
Loads layout.
-
onShow() as Void
Start the ui timer when the view is displayed.
-
onUpdate(dc as Graphics.Dc) as Void
Update the view.
-
updateScreen() as Void
A wrapper function to allow the timer to request a screen update.
Instance Method Details
initialize(antSensor as AntModule.AntSensor)
Constructor
onHide() as Void
Stop the ui timer when the screen is no longer being displayed
onLayout(dc as Graphics.Dc) as Void
Loads layout
onShow() as Void
Start the ui timer when the view is displayed
onUpdate(dc as Graphics.Dc) as Void
Update the view
updateScreen() as Void
A wrapper function to allow the timer to request a screen update