The time and duration of the event.
- iOS 11.0+
- Mac Catalyst 13.0+
- watchOS 4.0+
Most event types support only date intervals with a zero-length duration. These intervals indicate a single point in time, represented by the interval’s
startDate property. Only
HKWorkoutEventType.segment event types support intervals with nonzero durations.