Class: Toybox.AntPlus.BikeCadence

Overview

Represents a Bike Cadence Device instance.

Example:

using Toybox.AntPlus;

// Assuming Valid BikeCadenceListener object "MyBikeCadenceListener"

// Initialize the AntPlus.BikeCadenceListener object
listener = new MyBikeCadenceListener();

// Initialize the AntPlus.BikeCadence object with a listener
bikeCadence = new AntPlus.BikeCadence(listener);

var cadenceInfo = bikeCadence.getCadenceInfo();

// ...etc

Since:

API Level 3.0.0

Supported Devices:

Instance Method Summary collapse

Instance Method Details

getCadenceInfo() as AntPlus.BikeCadenceInfo

Returns the most recent BikeCadenceInfo

Returns:

Since:

API Level 3.0.0

initialize(listener as AntPlus.BikeCadenceListener or Null)

Constructor

Parameters:

Since:

API Level 3.0.0


Generated Dec 11, 2024, 8:58:42 AM