Class: Toybox.Activity.WorkoutStepInfo
- Inherits:
-
Toybox.Lang.Object
Overview
The WorkoutStepInfo class contains information about the current workout.
This information can be retrieved with the getCurrentWorkoutStep() or getNextWorkoutStep() methods.
Instance Member Summary collapse
-
intensity as Activity.WorkoutIntensity
The intensity of the step.
-
name as Lang.String
The name of the current step.
-
notes as Lang.String
The notes for the current step.
-
sport as Activity.Sport
The sport for the workout step.
-
step as Activity.WorkoutStep or Activity.WorkoutIntervalStep
Duration and target information about the step.
-
subSport as Activity.SubSport or Null
The subsport for the workout step.
Instance Attribute Details
var intensity as Activity.WorkoutIntensity
The intensity of the step
var name as Lang.String
The name of the current step
var notes as Lang.String
The notes for the current step
var sport as Activity.Sport
The sport for the workout step
var step as Activity.WorkoutStep or Activity.WorkoutIntervalStep
Duration and target information about the step
var subSport as Activity.SubSport or Null
The subsport for the workout step. Currently only valid for breathing and swim workouts