Type Method

activitySummaryType()

Returns the shared activity summary type.

Declaration

class func activitySummaryType() -> HKActivitySummaryType

Return Value

The shared HKActivitySummaryType instance.

Discussion

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