Class: Toybox::ActivityMonitor::ActiveMinutes

Inherits:
Lang::Object
  • Object
show all

Overview

A class representing the active minutes recorded by the device.

Since:

  • 2.1.0

Supported Devices:

  • All CIQ 2.x devices

Instance Attribute Summary collapse

Method Summary

Methods inherited from Lang::Object

equals, hashCode, method, toString, weak

Instance Attribute Details

moderateToybox::Lang::Number

The total number of moderate activity minutes recorded by the device.

Returns:

Since:

  • 2.1.0


668
669
670
# File 'Monkeybrains.rb', line 668

def moderate
  @moderate
end

totalToybox::Lang::Number

The total number of active minutes recorded by the device.

This value is equal to the total number of moderate minutes plus twice the total number of vigorous minutes.

Returns:

Since:

  • 2.1.0


662
663
664
# File 'Monkeybrains.rb', line 662

def total
  @total
end

vigorousToybox::Lang::Number

The total number of vigorous activity minutes recorded by the device.

Returns:

Since:

  • 2.1.0


674
675
676
# File 'Monkeybrains.rb', line 674

def vigorous
  @vigorous
end