---
title: HKActivitySummaryType
framework: healthkit
role: symbol
role_heading: Class
path: healthkit/hkactivitysummarytype
---

# HKActivitySummaryType

A type that identifies activity summary objects.

## Declaration

```swift
class HKActivitySummaryType
```

## Overview

Overview Use the activity summary type to request permission to read HKActivitySummary objects from the HealthKit store. To create an activity summary type, use the HKObjectType class’s activitySummaryType() convenience method. note: Although you can request permission to read HKActivitySummary objects, you can’t request permission to share them. For more information, see requestAuthorization(toShare:read:completion:). The HKActivitySummaryType class is a concrete subclass of the HKObjectType class. Like many HealthKit classes, activity summary types aren’t extensible and you shouldn’t subclass them. Access and Modify Activity Summaries Any workouts that you save to the HealthKit store may affect that day’s summary. For more information, see HKWorkout. To query for activity summary objects, use an HKActivitySummaryQuery. You can also create your own HKActivitySummary objects (for example, to display in an HKActivityRingView), but you can’t save them to the HealthKit store.

## Relationships

### Inherits From

- [HKObjectType](healthkit/hkobjecttype.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSCoding](foundation/nscoding.md)
- [NSCopying](foundation/nscopying.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [NSSecureCoding](foundation/nssecurecoding.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Related Documentation

- [HKActivitySummary](healthkit/hkactivitysummary.md)
- [HKActivitySummaryQuery](healthkit/hkactivitysummaryquery.md)
- [HKActivityRingView](healthkitui/hkactivityringview.md)

### Object type subclasses

- [HKCharacteristicType](healthkit/hkcharacteristictype.md)
- [HKQuantityType](healthkit/hkquantitytype.md)
- [HKCategoryType](healthkit/hkcategorytype.md)
- [HKCorrelationType](healthkit/hkcorrelationtype.md)
- [HKAudiogramSampleType](healthkit/hkaudiogramsampletype.md)
- [HKElectrocardiogramType](healthkit/hkelectrocardiogramtype.md)
- [HKSeriesType](healthkit/hkseriestype.md)
- [HKClinicalType](healthkit/hkclinicaltype.md)
- [HKWorkoutType](healthkit/hkworkouttype.md)
- [HKObjectType](healthkit/hkobjecttype.md)
- [HKSampleType](healthkit/hksampletype.md)
