Class: Toybox::AntPlus::RunningDynamics

Inherits:
Device show all

Overview

Represents a Running Dynamics Device instance.

Since:

  • 2.4.0

Fitness Equipment Training Setting Type collapse

Methods inherited from Device

getBatteryStatus, getComponentIdentifiers, getDeviceState, getManufacturerInfo, getProductInfo, sendManufacturerMessage, sendPageRequest

Methods inherited from Lang::Object

equals, hashCode, method, toString, weak

Constructor Details

initialize(listener) ⇒ RunningDynamics

Constructor for the RunningDynamics object takes an extension of the RunningDynamicsListener class as a parameter. null can be passed in instead if the user plans to only poll for data using the get* methods.

Parameters:

Since:

  • 2.x.x


18250
18251
# File 'Monkeybrains.rb', line 18250

def initialize(listener)
end

Instance Method Details

getRunningDynamicsRunningDynamicsData

Use getRunningDynamics() to get the most current running dynamics.

Returns:

Since:

  • 2.x.x


18235
18236
# File 'Monkeybrains.rb', line 18235

def getRunningDynamics()
end

getSensorPositionSensorPosition

Use getSensorPosition() to retrieve the position of the sensor on the body

Returns:

Since:

  • 2.x.x


18241
18242
# File 'Monkeybrains.rb', line 18241

def getSensorPosition()
end