Class: Toybox.Activity.WorkoutStep

Overview

The Activity.WorkoutStep class contain information about 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 Sep 25, 2023 12:31:44 PM