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
nilif the app is generating its own data. - startDate:
The sample’s start date.