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, onProductInfoUpdate

Methods inherited from Lang::Object

equals, hashCode, method, toString, weak

Constructor Details

initializeRunningDynamicsListener

Constructor

Since:

  • 2.x.x


16561
16562
# File 'Monkeybrains.rb', line 16561

def initialize()
end

Instance Method Details

onRunningDynamicsUpdate(data) ⇒ Object

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

Parameters:

Since:

  • 2.4.0


16567
16568
# File 'Monkeybrains.rb', line 16567

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


16573
16574
# File 'Monkeybrains.rb', line 16573

def onSensorPositionUpdate(data)
end