Class: Toybox.ActivityMonitor.HeartRateIterator

Overview

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

Since:

API Level 1.2.2

Supported Devices:

Instance Method Summary collapse

Instance Method Details

getMax() as Lang.Number or Null

Get the maximum heart rate contained in this iterator.

Returns:

  • Lang.Number

    The maximum heart rate in beats per minute (bpm)

Since:

API Level 1.2.2

getMin() as Lang.Number or Null

Get the minimum heart rate contained in this iterator.

Returns:

Since:

API Level 1.2.2

next() as ActivityMonitor.HeartRateSample or Null

Get the next entry in the iterator.

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

Returns:

Since:

API Level 1.2.2


Generated Apr 17, 2024 9:40:36 AM