Class: Toybox.AntPlus.LightNetworkListener
- Inherits:
-
Toybox.AntPlus.DeviceListener
Overview
Listener class for use with LightNetwork.
Instance Method Summary collapse
-
initialize()
Constructor.
-
onBikeLightUpdate(data as AntPlus.BikeLight) as Void
Callback when a bike light's data is updated (max freq.
-
onLightNetworkStateUpdate(data as AntPlus.LightNetworkState) as Void
Callback when the light network state changes.
Instance Method Details
initialize()
Constructor
onBikeLightUpdate(data as AntPlus.BikeLight) as Void
Callback when a bike light's data is updated (max freq. 1Hz)
onLightNetworkStateUpdate(data as AntPlus.LightNetworkState) as Void
Callback when the light network state changes