---
title: activitySummaryType()
framework: healthkit
role: symbol
role_heading: Type Method
path: healthkit/hkobjecttype/activitysummarytype()
---

# activitySummaryType()

Returns the shared activity summary type.

## Declaration

```swift
class func activitySummaryType() -> HKActivitySummaryType
```

## Return Value

Return Value The shared HKActivitySummaryType instance.

## Discussion

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. note: You cannot request permission to share HKActivitySummary objects.
