Class

HKSeriesSample

An abstract base class that defines samples that contain a series of items.

Overview

Never instantiate HKSeriesSample objects directly. Instead, user one of the concrete subclasses (for example, the HKWorkoutRoute class).

Subclassing Notes

Like many HealthKit classes, the HKSeriesSample class should not be subclassed. You can extend HKSeriesSample and its subclasses by adding custom metadata keys and values to the metadata dictionary when the object is created.

Topics

Accessing the Series

var count: Int

The number of items in the series.

Relationships

Inherits From

Conforms To

See Also