Class: Toybox::ActivityMonitor::HeartRateIterator

Inherits:
Lang::Object
  • Object
show all

Overview

A class containing heart rate data for a given period of time.

Since:

  • 1.2.2

Supported Devices:

  • D2 Bravo Titanium

  • fenix 3 HR

  • fenix 5/S/X

  • fenix Chronos

  • Forerunner 235

  • Forerunner 735XT

  • Forerunner 935

  • vivoactive HR

Instance Method Summary collapse

Methods inherited from Lang::Object

equals, hashCode, method, toString, weak

Instance Method Details

getMaxToybox::Lang::Number

Get the maximum heart rate contained in this iterator.

Returns:

Since:

  • 1.2.2


792
793
# File 'Monkeybrains.rb', line 792

def getMax()
end

getMinToybox::Lang::Number

Get the minimum heart rate contained in this iterator.

Returns:

Since:

  • 1.2.2


798
799
# File 'Monkeybrains.rb', line 798

def getMin()
end

nextToybox::ActivityMonitor::HeartRateSample

Get the next entry in the iterator.

This must be called to get the initial data from the iterator.

Returns:

Since:

  • 1.2.2


785
786
# File 'Monkeybrains.rb', line 785

def next()
end