iOS Guides | Samples

MonoTouch.HealthKit.HKActivitySummaryQuery Class

Gets HKActivitySummary instances that match an NSPredicate.

See Also: HKActivitySummaryQuery


[MonoTouch.Foundation.Register("HKActivitySummaryQuery", true)]
[MonoTouch.ObjCRuntime.Introduced(MonoTouch.ObjCRuntime.PlatformName.iOS, 9, 3, MonoTouch.ObjCRuntime.PlatformArchitecture.None, null)]
[MonoTouch.ObjCRuntime.Introduced(MonoTouch.ObjCRuntime.PlatformName.WatchOS, 2, 2, MonoTouch.ObjCRuntime.PlatformArchitecture.None, null)]
public class HKActivitySummaryQuery : HKQuery


Developers can use the methods of the HKQuery class to create predicates that will call the handler in the HKActivitySummaryQuery.UpdateHandler property when a summary matches the query.

Related content


Namespace: MonoTouch.HealthKit
Assembly: monotouch (in monotouch.dll)
Assembly Versions:

The members of MonoTouch.HealthKit.HKActivitySummaryQuery are listed below.

See Also: HKQuery

Public Constructors

A constructor that initializes the object from the data stored in the unarchiver object.
Constructor to call on derived classes to skip initialization and merely allocate the object.
A constructor used when creating managed representations of unmanaged objects; Called by the runtime.
Creates a new HKActivitySummary with the specified handler and predicate.

Public Properties

ClassHandleIntPtr. The handle for this class.
UpdateHandlerAction<HKActivitySummaryQuery, HKActivitySummary[], MonoTouch.Foundation.NSError>. Gets or sets a handler for one-time or continuous summary query results.