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

Methods inherited from Lang::Object

equals, hashCode, method, toString, weak

Constructor Details

initializeBikeSpeedListener

Constructor.

Since:

  • 3.0.0


15999
16000
# File 'Monkeybrains.rb', line 15999

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


16005
16006
# File 'Monkeybrains.rb', line 16005

def onBikeSpeedUpdate(data)
end