×

Start Workout

Notes

Starts a workout. The value parameter is the amount of whatever unit you place. For example 200 cal, 10 min, or 1 hr

Syntax

startWorkout(workout: <#Workout Type#>, open: <#Boolean#>, value: <#String (No Variables)#>, unit: <#Workout Unit#>)

Example

startWorkout(workout: "Outdoor Walk", open: false, value: "200", unit: cal)