Class: Toybox::AntPlus::DeviceListener

Inherits:
Lang::Object show all

Overview

Listener class for Device.

Since:

  • 2.2.0

Device States collapse

Methods inherited from Lang::Object

equals, hashCode, method, toString, weak

Instance Method Details

onBatteryStatusUpdate(data) ⇒ Object

Callback when battery status is received.

Parameters:

Since:

  • 2.2.0


14978
14979
# File 'Monkeybrains.rb', line 14978

def onBatteryStatusUpdate(data)
end

onDeviceStateUpdate(data) ⇒ Object

Callback when device state is updated.

Parameters:

Since:

  • 2.2.0


14998
14999
# File 'Monkeybrains.rb', line 14998

def onDeviceStateUpdate(data)
end

onManufacturerInfoUpdate(data) ⇒ Object

Callback when manufacturer's information is received.

Parameters:

Since:

  • 2.2.0


14985
14986
# File 'Monkeybrains.rb', line 14985

def onManufacturerInfoUpdate(data)
end

onProductInfoUpdate(data) ⇒ Object

Callback when product information is received.

Parameters:

Since:

  • 2.2.0


14991
14992
# File 'Monkeybrains.rb', line 14991

def onProductInfoUpdate(data)
end