Class: Toybox::AntPlus::RunningDynamicsListener

Inherits:
DeviceListener show all

Overview

Listener class for Running Dynamics.

Since:

  • 2.x.x

Fitness Equipment Training Setting Type collapse

Methods inherited from DeviceListener

onBatteryStatusUpdate, onDeviceStateUpdate, onManufacturerInfoUpdate, onMessage, onProductInfoUpdate, onSentMessage

Methods inherited from Lang::Object

equals, hashCode, method, toString, weak

Constructor Details

initializeRunningDynamicsListener

Constructor

Since:

  • 2.x.x


18260
18261
# File 'Monkeybrains.rb', line 18260

def initialize()
end

Instance Method Details

onRunningDynamicsUpdate(data) ⇒ Object

Callback when running dynamics are updated (max freq 1Hz)

Parameters:

Since:

  • 2.4.0


18266
18267
# File 'Monkeybrains.rb', line 18266

def onRunningDynamicsUpdate(data)
end

onSensorPositionUpdate(data) ⇒ Object

Callback when sensor position is updated (max freq 1Hz)

Parameters:

  • data (SensorPosition)

    Data with updated sensor position information.

Since:

  • 2.4.0


18272
18273
# File 'Monkeybrains.rb', line 18272

def onSensorPositionUpdate(data)
end