Class: Toybox.AntPlus.CommonData

Overview

The CommonData object represents the information shared across all common data types.

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

Since:

API Level 2.2.0

Direct Known Subclasses

AntPlus.BatteryStatus, AntPlus.BikeLight, AntPlus.ManufacturerInfo, AntPlus.ProductInfo

Instance Member Summary collapse

Instance Attribute Details

var identifier as Lang.Number or Null

The Component Identifier.

Component IDs are defined on a by-ANT+-profile basis.

Since:

API Level 2.2.0

Returns:

  • Lang.Number

    The identifier as a Number

    • null if single-component

    • Light index for bike lights.

var numComponents as Lang.Number or Null

Number of components in the system.

Since:

API Level 2.2.0

Returns:


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