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


18287
18288
# File 'Monkeybrains.rb', line 18287

def initialize()
end

Instance Method Details

onRunningDynamicsUpdate(data) ⇒ Object

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

Parameters:

Since:

  • 2.4.0


18293
18294
# File 'Monkeybrains.rb', line 18293

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


18299
18300
# File 'Monkeybrains.rb', line 18299

def onSensorPositionUpdate(data)
end