workoutPlan
TypeScriptget workoutPlan(): Promise<(WorkoutPlan) | null>Swift declarationvar workoutPlan: WorkoutPlan? { get async throws }Create, preview, and sync workout compositions to the Workout app.
29 types
141 callable entries
14 skipped
91% entry coverage
Generated from iOS SDK 27.1. Availability is shown on each declaration; permissions and entitlements still apply.
CadenceRangeAlert
struct · iOS 17.0+
CadenceThresholdAlert
struct · iOS 17.0+
CustomWorkout
struct · iOS 17.0+
HeartRateRangeAlert
struct · iOS 17.0+
HeartRateZoneAlert
struct · iOS 17.0+
IntervalBlock
struct · iOS 17.0+
IntervalStep
struct · iOS 17.0+
IntervalStep.Purpose
enum · iOS 17.0+
PacerWorkout
struct · iOS 17.0+
PowerRangeAlert
struct · iOS 17.0+
PowerThresholdAlert
struct · iOS 17.0+
PowerZoneAlert
struct · iOS 17.0+
ScheduledWorkoutPlan
struct · iOS 17.0+
SingleGoalWorkout
struct · iOS 17.0+
SpeedRangeAlert
struct · iOS 17.0+
SpeedThresholdAlert
struct · iOS 17.0+
StateError
enum · iOS 17.0+
SwimBikeRunWorkout
struct · iOS 17.0+
SwimBikeRunWorkout.Activity
enum · iOS 17.0+
WorkoutAlert
protocol · iOS 17.0+
WorkoutAlertMetric
enum · iOS 17.0+
WorkoutGoal
enum · iOS 17.0+
WorkoutPlan
struct · iOS 17.0+
WorkoutPlan.ID
typealias · iOS 17.0+
WorkoutPlan.Workout
enum · iOS 17.0+
WorkoutScheduler
class · iOS 17.0+
WorkoutScheduler.AuthorizationState
enum · iOS 17.0+
WorkoutScheduler.AuthorizationState.RawValue
typealias · iOS 17.0+
WorkoutStep
struct · iOS 17.0+
get workoutPlan(): Promise<(WorkoutPlan) | null>Swift declarationvar workoutPlan: WorkoutPlan? { get async throws }14 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
WorkoutAlert.heartRate(_:unit:)
Static protocol requirements cannot be called through an instance.
WorkoutAlert.heartRate(zone:)
Static protocol requirements cannot be called through an instance.
WorkoutAlert.cadence(_:unit:)
Static protocol requirements cannot be called through an instance.
WorkoutAlert.cadence(_:unit:)
Static protocol requirements cannot be called through an instance.
PowerThresholdAlert.metric
The iOS SDK compiler rejected this binding: setter for 'metric' is only available in iOS 17.4 or newer
WorkoutAlert.power(_:unit:)
Static protocol requirements cannot be called through an instance.
WorkoutAlert.power(_:unit:metric:)
Static protocol requirements cannot be called through an instance.
PowerRangeAlert.metric
The iOS SDK compiler rejected this binding: setter for 'metric' is only available in iOS 17.4 or newer
WorkoutAlert.power(_:unit:)
Static protocol requirements cannot be called through an instance.
WorkoutAlert.power(_:unit:metric:)
Static protocol requirements cannot be called through an instance.
WorkoutAlert.power(zone:)
Static protocol requirements cannot be called through an instance.
WorkoutAlert.speed(_:unit:metric:)
Static protocol requirements cannot be called through an instance.
WorkoutAlert.speed(_:unit:metric:)
Static protocol requirements cannot be called through an instance.
protocol implementation WorkoutAlert
synchronous protocol result requires an active JS-thread call; delegate invocations can escape it