Class: Toybox::AntPlus::BikeRadar

Inherits:
Device show all

Overview

Represents a Bike Radar Device instance.

Since:

  • 3.0.0

Radar Threat Side collapse

Methods inherited from Device

getBatteryStatus, getComponentIdentifiers, getDeviceState, getManufacturerInfo, getProductInfo

Methods inherited from Lang::Object

equals, hashCode, method, toString, weak

Constructor Details

initialize(listener) ⇒ BikeRadar

The Constructor for the BikeRadar object. takes an extension of the BikeRadarListener class as a parameter. null can be passed in instead if the user plans to only poll for data using the getRadarInfo method.

Parameters:

  • listener (Toybox::AntPlus::BikeRadarlistener)

    The bike radar instance optionally

Since:

  • 3.0.0


15874
15875
# File 'Monkeybrains.rb', line 15874

def initialize(listener)
end

Instance Method Details

getRadarInfoToybox::Lang::Array

Retrieves information on the current list of tracked targets.

Returns:

Since:

  • 3.0.0


15880
15881
# File 'Monkeybrains.rb', line 15880

def getRadarInfo()
end