Contents

electrocardiogramType()

Returns the shared electrocardiogram type.

Declaration

class func electrocardiogramType() -> HKElectrocardiogramType

Return Value

The shared HKElectrocardiogramType instance.

Discussion

This method returns an instance of the HKElectrocardiogramType concrete subclass. Use this type to request permission to read HKElectrocardiogram objects from the HealthKit store.