Class

HKActivitySummaryQuery

A query for reading activity summary objects from the HealthKit store.

Declaration

@interface HKActivitySummaryQuery : HKQuery

Overview

Activity summary query objects are mostly immutable. You can assign the query’s updateHandler property after instantiating the object, but before executing the query. All other properties must be set when you instantiate the object, and they can’t change.

Topics

Creating Activity Summary Queries

Executing Activity Summary Queries

Create and run activity summary queries.

- initWithPredicate:resultsHandler:

Initializes a new active summary query.

Getting Property Data

updateHandler

The handler for monitoring updates to activity summaries saved in the HealthKit store.

Relationships

Inherits From

See Also

Activity Rings

HKActivitySummary

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

HKActivityRingView

A view that uses the Move, Exercise, and Stand activity rings to display data from a HealthKit activity summary object.