Class: Toybox.Activity.WorkoutStep

Overview

The WorkoutStep class contains information about the current workout step.

Since:

API Level 3.2.0

Supported Devices:

Instance Member Summary collapse

Instance Attribute Details

var durationType as Activity.WorkoutStepDurationType

The duration of the workout step

Since:

API Level 3.2.0

Returns:

var durationValue as Lang.Number

How long the step should last

Since:

API Level 3.2.0

Returns:

  • Lang.Number

    A value whose meaning is dependent on the value of durationType

var targetType as Activity.WorkoutStepTargetType

The target of the workout step

Since:

API Level 3.2.0

Returns:

var targetValueHigh as Lang.Number

The high value for the target range.

Since:

API Level 3.2.0

Returns:

  • Lang.Number

    A value whose meaning is dependent on the value of targetType

var targetValueLow as Lang.Number

The low value for the target range.

Since:

API Level 3.2.0

Returns:

  • Lang.Number

    A value whose meaning is dependent on the value of targetType


Generated Dec 11, 2024, 8:58:42 AM