---
title: HKActivitySummary
framework: healthkit
role: symbol
role_heading: Class
path: healthkit/hkactivitysummary
---

# HKActivitySummary

An object that contains the move, exercise, and stand data for a given day.

## Declaration

```swift
class HKActivitySummary
```

## Mentioned in

Executing Activity Summary Queries

## Overview

Overview You can read HKActivitySummary objects from the HealthKit store using an HKActivitySummaryQuery object. Unlike the HKSample subclasses,  HKActivitySummary instances are mutable, but changes made to the object’s properties have no affect on the values in the HealthKit store. You can instantiate your own HKActivitySummary objects (if needed), but you can’t save HKActivitySummary objects to the store. You can display an active summary in iOS using the HKActivityRingView class or in watchOS using the WKInterfaceActivityRing class.

## Topics

### Accessing the summary’s data

- [activityMoveMode](healthkit/hkactivitysummary/activitymovemode.md)
- [HKActivityMoveMode](healthkit/hkactivitymovemode.md)
- [activeEnergyBurned](healthkit/hkactivitysummary/activeenergyburned.md)
- [activeEnergyBurnedGoal](healthkit/hkactivitysummary/activeenergyburnedgoal.md)
- [appleMoveTime](healthkit/hkactivitysummary/applemovetime.md)
- [appleMoveTimeGoal](healthkit/hkactivitysummary/applemovetimegoal.md)
- [appleExerciseTime](healthkit/hkactivitysummary/appleexercisetime.md)
- [appleExerciseTimeGoal](healthkit/hkactivitysummary/appleexercisetimegoal.md)
- [exerciseTimeGoal](healthkit/hkactivitysummary/exercisetimegoal.md)
- [appleStandHours](healthkit/hkactivitysummary/applestandhours.md)
- [standHoursGoal](healthkit/hkactivitysummary/standhoursgoal.md)
- [appleStandHoursGoal](healthkit/hkactivitysummary/applestandhoursgoal.md)
- [HKCategoryValueAppleStandHour](healthkit/hkcategoryvalueapplestandhour.md)
- [dateComponents(for:)](healthkit/hkactivitysummary/datecomponents(for:).md)

### Specifying predicate key paths

- [HKPredicateKeyPathDateComponents](healthkit/hkpredicatekeypathdatecomponents.md)

### Initializers

- [init(coder:)](healthkit/hkactivitysummary/init(coder:).md)

### Instance Properties

- [isPaused](healthkit/hkactivitysummary/ispaused.md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.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

### Activity rings

- [HKActivitySummaryQueryDescriptor](healthkit/hkactivitysummaryquerydescriptor.md)
- [HKActivitySummaryQuery](healthkit/hkactivitysummaryquery.md)
- [HKActivityRingView](healthkitui/hkactivityringview.md)
- [HKActivityMoveModeObject](healthkit/hkactivitymovemodeobject.md)
