Class: Toybox::AntPlus::CalculatedPower

Inherits:
Lang::Object show all

Overview

Represents the calculated power.

Fields may return null so you should null check values before using them.

Since:

  • 2.2.0

Bike Power Sensor Type collapse

Method Summary

Methods inherited from Lang::Object

equals, hashCode, method, toString, weak

Instance Attribute Details

powerToybox::Lang::Float

The average power calculated from the sensor data in watts (W).

Returns:

Since:

  • 2.2.0


15502
15503
15504
# File 'Monkeybrains.rb', line 15502

def power
  @power
end

powerSensorTypeToybox::Lang::Number

The BIKE_POWER_SENSOR_TYPE_* value of the bike power sensor.

Returns:

Since:

  • 2.2.0


15508
15509
15510
# File 'Monkeybrains.rb', line 15508

def powerSensorType
  @powerSensorType
end