Class: $.PitchCounterView

Inherits:
WatchUi.View show all

Overview

Show the pitch counter data

Instance Member Summary collapse

Instance Method Summary collapse

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

Parameters:

  • dc —

    Device context

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

Parameters:

  • dc —

    Device Context


Generated Jun 9, 2026, 8:45:55 AM