Contents

HKActivitySummary

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

Declaration

class HKActivitySummary

Mentioned in

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

Specifying predicate key paths

Initializers

Instance Properties

See Also

Activity rings