Class: Toybox.AntPlus.BikeSpeed

Overview

Represents a Bike Speed Device instance.

Example:

using Toybox.AntPlus;

// Assuming Valid BikeSpeedListener object "MyBikeSpeedListener"

// Initialize the AntPlus.BikeSpeedListener object
listener = new MyBikeSpeedListener();

// Initialize the AntPlus.BikeSpeed object with a listener
bikeSpeed = new AntPlus.BikeSpeed(listener);

var speedInfo = bikeSpeed.getSpeedInfo();

// ...etc

Since:

API Level 3.0.0

Supported Devices:

Instance Method Summary collapse

Instance Method Details

getSpeedInfo() as AntPlus.BikeSpeedInfo

getSpeedInfo - Returns the most recent BikeSpeedInfo

Returns:

Since:

API Level 3.0.0

initialize(listener as AntPlus.BikeSpeedListener or Null)

Constructor

Parameters:

Since:

API Level 3.0.0


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