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.

Since:

  • 2.4.0

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


16341
16342
16343
# File 'Monkeybrains.rb', line 16341

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


16335
16336
16337
# File 'Monkeybrains.rb', line 16335

def feHeartRate
  @feHeartRate
end

feSpeedToybox::Lang::Float

The speed calculated by the trainer

Returns:

Since:

  • 2.4.0


16329
16330
16331
# File 'Monkeybrains.rb', line 16329

def feSpeed
  @feSpeed
end