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


18043
18044
18045
# File 'Monkeybrains.rb', line 18043

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


18037
18038
18039
# File 'Monkeybrains.rb', line 18037

def feHeartRate
  @feHeartRate
end

feSpeedToybox::Lang::Float

The speed calculated by the trainer

Returns:

Since:

  • 2.4.0


18031
18032
18033
# File 'Monkeybrains.rb', line 18031

def feSpeed
  @feSpeed
end