Class: Toybox::AntPlus::BikeSpeedListener

Inherits:
DeviceListener show all

Overview

Listener class for Bike Speed

Since:

  • 3.0.0

Radar Threat Side collapse

Methods inherited from DeviceListener

onBatteryStatusUpdate, onDeviceStateUpdate, onManufacturerInfoUpdate, onMessage, onProductInfoUpdate, onSentMessage

Methods inherited from Lang::Object

equals, hashCode, method, toString, weak

Constructor Details

initializeBikeSpeedListener

Constructor.

Since:

  • 3.0.0


17760
17761
# File 'Monkeybrains.rb', line 17760

def initialize()
end

Instance Method Details

onBikeSpeedUpdate(data) ⇒ Object

Callback when speed data is updated

Parameters:

  • data (BikeSpeedInfo)

    data Data with updated speed and distance information.

Since:

  • 3.0.0


17766
17767
# File 'Monkeybrains.rb', line 17766

def onBikeSpeedUpdate(data)
end