Class: Toybox.AntPlus.BatteryStatus

Overview

A class containing information from the Battery Status ANT+ common page.

Fields may return null so you should null check values before using them.

See Also:

Since:

API Level 2.2.0

Instance Member Summary collapse

Instance Method Summary collapse

Instance Attribute Details

var batteryStatus as AntPlus.BatteryStatusValue or Null

The BATT_STATUS_* value of the battery.

Since:

API Level 2.2.0

Returns:

var batteryVoltage as Lang.Float or Null

The voltage, -1 is invalid

Since:

API Level 2.2.0

Returns:

var operatingTime as Lang.Number or Null

The operating time in seconds.

Since:

API Level 2.2.0

Returns:

  • Lang.Number

    The operating time of the ANT+ device

Instance Method Details

initialize()

Constructor

Since:

API Level 2.2.0


Generated Sep 23, 2024, 3:32:48 PM