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

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


16551
16552
# File 'Monkeybrains.rb', line 16551

def initialize(listener)
end

Instance Method Details

getRunningDynamicsRunningDynamicsData

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

Returns:

Since:

  • 2.x.x


16536
16537
# File 'Monkeybrains.rb', line 16536

def getRunningDynamics()
end

getSensorPositionSensorPosition

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

Returns:

Since:

  • 2.x.x


16542
16543
# File 'Monkeybrains.rb', line 16542

def getSensorPosition()
end