Class: Toybox.AntPlus.BikeSpeedCadence

Overview

Represents a Bike Speed and Cadence Device instance.

Example:

using Toybox.AntPlus;

// Assuming Valid BikeSpeedCadenceListener object "MyBikeSpeedCadenceListener"

// Initialize the AntPlus.BikeSpeedCadenceListener object
listener = new MyBikeSpeedCadenceListener();

// Initialize the AntPlus.BikeSpeedCadence object with a listener
bikeSpeedCadence = new AntPlus.BikeSpeedCadence(listener);

var speedCadenceInfo = bikeSpeedCadence.getSpeedCadenceInfo();

// ...etc

Since:

API Level 3.0.0

Supported Devices:

Instance Method Summary collapse

Instance Method Details

getSpeedCadenceInfo() as AntPlus.BikeSpeedCadenceInfo

getSpeedCadenceInfo - Returns the most recent BikeSpeedCadenceInfo

Returns:

Since:

API Level 3.0.0

initialize(listener as AntPlus.BikeSpeedCadenceListener or Null)

Constructor

Parameters:

Since:

API Level 3.0.0


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