Instantiates and returns a new workout event with the specified type and date.
- iOS 8.0–11.0Deprecated
- Mac Catalyst 13.0–13.0Deprecated
- watchOS 2.0–4.0Deprecated
The type of workout event. For a description of possible events, see
The time when the transition occurred. For a pause event, this date indicates the start of the break. For a resume event, this date indicates the end of the break. You must use a date between the starting and ending dates of the workout that you intend to modify.
A new workout event.