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 Sep 23, 2024, 3:32:48 PM