maxAllowedScheduledWorkoutCount
TypeScriptstatic get maxAllowedScheduledWorkoutCount(): numberSwift declarationstatic let maxAllowedScheduledWorkoutCount: Intclass · iOS 17.0+ · SDK 27.1
final class WorkoutSchedulerstatic get maxAllowedScheduledWorkoutCount(): numberSwift declarationstatic let maxAllowedScheduledWorkoutCount: Intstatic get isSupported(): booleanSwift declarationstatic var isSupported: Bool { get }markComplete(workout: WorkoutPlan, at: _Foundation_DateComponents): Promise<void>Swift declarationfinal func markComplete(_ workout: WorkoutPlan, at: DateComponents) asyncremoveAllWorkouts(): Promise<void>Swift declarationfinal func removeAllWorkouts() asyncget scheduledWorkouts(): Promise<Array<ScheduledWorkoutPlan>>Swift declarationfinal var scheduledWorkouts: [ScheduledWorkoutPlan] { get async }get authorizationState(): Promise<WorkoutScheduler_AuthorizationState>Swift declarationfinal var authorizationState: WorkoutScheduler.AuthorizationState { get async }requestAuthorization(): Promise<WorkoutScheduler_AuthorizationState>Swift declarationfinal func requestAuthorization() async -> WorkoutScheduler.AuthorizationStateremove(workout: WorkoutPlan, at: _Foundation_DateComponents): Promise<void>Swift declarationfinal func remove(_ workout: WorkoutPlan, at: DateComponents) asyncstatic get shared(): WorkoutSchedulerSwift declarationstatic let shared: WorkoutSchedulerschedule(workout: WorkoutPlan, at: _Foundation_DateComponents): Promise<void>Swift declarationfinal func schedule(_ workout: WorkoutPlan, at: DateComponents) asyncNo declarations were skipped in this snapshot.