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

Class: Toybox::ActivityMonitor::Info

A class containing information about the user's current activity status. The fields in this class may return null so you should null check a value before using it.

  • Since : 1.0.0

Instance Attribute Details

(Number) calories : Calories burned so far for the day in kCal

  • Returns : (Number)
  • Since : 1.0.0

(Number) distance : Distance in cm

  • Returns : (Number)
  • Since : 1.0.0

(Boolean) isSleepMode : Is the user in sleep mode?

  • Returns : (Boolean)
  • Since : 1.0.0

(Number) moveBarLevel : Current level of the move bar.

Between MOVE_BAR_LEVEL_MIN and MOVE_BAR_LEVEL_MAX.
  • Returns : (Number)
  • Since : 1.0.0

(Number) stepGoal : Step goal for the day

  • Returns : (Number)
  • Since : 1.0.0

(Number) steps : Steps in number of steps

  • Returns : (Number)
  • Since : 1.0.0
最終更新:2016年03月06日 23:50