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


17733
17734
# File 'Monkeybrains.rb', line 17733

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


17739
17740
# File 'Monkeybrains.rb', line 17739

def onBikeSpeedUpdate(data)
end