Class: $.AntView

Inherits:
WatchUi.View show all

Overview

Show the AntSensor data

Constant Summary

Constant Variables

Type Name Value Since Description
Type _uiUpdatePeriodMs 500

Instance Member Summary collapse

Instance Method Summary collapse

Instance Attribute Details

var _sensor as AntModule.AntSensor

var _uiTimer as Timer.Timer

Instance Method Details

initialize(antSensor as AntModule.AntSensor)

Constructor

Parameters:

  • antSensor —

    an AntModule.AntSensor

onHide() as Void

Stop the ui timer when the screen is no longer being displayed

onLayout(dc as Graphics.Dc) as Void

Loads layout

Parameters:

  • dc —

    Device Context

onShow() as Void

Start the ui timer when the view is displayed

onUpdate(dc as Graphics.Dc) as Void

Update the view

Parameters:

  • dc —

    Device Context

updateScreen() as Void

A wrapper function to allow the timer to request a screen update


Generated Oct 20, 2026, 8:20:36 AM