Connect IQ > APIメモ > Toybox > ActivityMonitor > HeartRateIterator


Class: Toybox::ActivityMonitor::HeartRateIterator


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

  • Since : 1.2.2
  • Supported Devices : fr235, fenix 3 HR

Instance Method Summary

(collapse)

   - (Number) getMax

   Get the maximium heart rate contained in this iterator.
   - (Number) getMin

   Get the minimium heart rate contained in this iterator.
   - (HeartRateSample) next

   Get the next entry in the iterator.

Instance Method Details
  • (Number) getMax

Get the maximium heart rate contained in this iterator.

Returns:

   (Number) —

   the maximum heart rate (bpm)

Since:

   1.2.2

  • (Number) getMin

Get the minimium heart rate contained in this iterator.

Returns:

   (Number) —

   the minimum heart rate (bpm)

Since:

   1.2.2

  • (HeartRateSample) next

Get the next entry in the iterator. This must be called to get the initial data from the iterator.

Returns:

   (HeartRateSample) —

   returns the next HeartRateSample, or null if there are no more samples

Since:

   1.2.2

Generated on Thu Feb 18 15:00:16 2016 by yard 0.8.7.6 (ruby-2.2.1).
最終更新:2016年03月06日 23:45