Class

HKHeartbeatSeriesSample

A sample that represents a series of heartbeats.

Declaration

@interface HKHeartbeatSeriesSample : HKSeriesSample

Overview

Use a HKHeartbeatSeriesQuery to access the underlying heartbeat data.

The HKHeartbeatSeriesSample class is a subclass of the HKSeriesSample class. These samples are immutable; you set the sample’s properties when you build them, and they cannot change.

Use Heartbeat Samples

Like many HealthKit classes, you should not subclass the HKHeartbeatSeriesSample class. You may extend this class by adding metadata with custom keys to save related data used by your app. For more information, see addMetadata:completion:.

Relationships

Inherits From

See Also

Heartbeat Series

HKHeartbeatSeriesBuilder

A builder object for incrementally building a heartbeat series.