Class: $.PitchCounterView
- Inherits:
-
WatchUi.View
-
WatchUi.View
-
Overview
Show the pitch counter data
Instance Member Summary collapse
- _labelCount as WatchUi.Text or Null
- _labelPeriod as WatchUi.Text or Null
- _labelSamples as WatchUi.Text or Null
- _pitchCounter as $.PitchCounterProcess
Instance Method Summary collapse
-
initialize()
Constructor.
-
onHide() as Void
Called when this View is removed from the screen.
-
onLayout(dc) as Void
Set the layout.
-
onShow() as Void
Called when this View is brought to the foreground.
-
onUpdate(dc as Graphics.Dc) as Void
Update the view.
Instance Attribute Details
var _labelCount as WatchUi.Text or Null
var _labelPeriod as WatchUi.Text or Null
var _labelSamples as WatchUi.Text or Null
var _pitchCounter as $.PitchCounterProcess
Instance Method Details
initialize()
Constructor
onHide() as Void
Called when this View is removed from the screen. Save the state of this View here. This includes freeing resources from memory.
onLayout(dc) as Void
Set the layout
onShow() as Void
Called when this View is brought to the foreground. Restore the state of this View and prepare it to be shown. This includes loading resources into memory.
onUpdate(dc as Graphics.Dc) as Void
Update the view