Class: Toybox::AntPlus::FitnessEquipmentData

Inherits:
Lang::Object show all

Overview

Represents general fitness equipment transmitted data. Fields may return null so you should null check values before using them.

Fitness Equipment Training Setting Type collapse

Method Summary

Methods inherited from Lang::Object

equals, hashCode, method, toString, weak

Instance Attribute Details

feDistanceToybox::Lang::Float

The elapsed distance calculated by the trainer since reset Range is always greater than or equal to 0m

Returns:

Since:

  • 2.4.0


18070
18071
18072
# File 'Monkeybrains.rb', line 18070

def feDistance
  @feDistance
end

feHeartRateToybox::Lang::Integer

The heart rate calculated by the trainer. This may come from hand sensors, or an HRM if connected to the equipment

Returns:

  • (Toybox::Lang::Integer)

    0-254 bpm, invalid 0xFF

Since:

  • 2.4.0


18064
18065
18066
# File 'Monkeybrains.rb', line 18064

def feHeartRate
  @feHeartRate
end

feSpeedToybox::Lang::Float

The speed calculated by the trainer

Returns:

Since:

  • 2.4.0


18058
18059
18060
# File 'Monkeybrains.rb', line 18058

def feSpeed
  @feSpeed
end