Initializer

init(healthStore:device:start:)

Creates a new heartbeat series builder.

Declaration

init(healthStore: HKHealthStore, device: HKDevice?, start startDate: Date)

Parameters

healthStore

The HealthKit store.

device

An object representing the device that provided the heartbeat data. Pass nil if the app is generating its own data.

start

The sample’s start date.

See Also

Creating a Heartbeat Series Builder

class var maximumCount: Int

The maximum number of heartbeats you can add to the sample.