HKQuery.GetPredicateForActivitySummariesBetween Method

Definition

Returns a predicate that matches activity summaries for activities that occurred between the provided dates.

[Foundation.Export("predicateForActivitySummariesBetweenStartDateComponents:endDateComponents:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 3, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 2, 2, ObjCRuntime.PlatformArchitecture.All, null)]
public static Foundation.NSPredicate GetPredicateForActivitySummariesBetween (Foundation.NSDateComponents startDateComponents, Foundation.NSDateComponents endDateComponents);
static member GetPredicateForActivitySummariesBetween : Foundation.NSDateComponents * Foundation.NSDateComponents -> Foundation.NSPredicate

Parameters

startDateComponents
NSDateComponents
endDateComponents
NSDateComponents

Returns

Attributes

Applies to