Instantiates and returns a new workout event with the specified type, date, and metadata.
- iOS 10.0–11.0Deprecated
- Mac Catalyst 13.0–13.0Deprecated
- watchOS 3.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.
The metadata associated with the workout event.