HKQuery.GetPredicateForActivitySummariesBetween 方法

定义

返回一个谓词,该谓词与所提供日期之间发生的活动的活动摘要相匹配。

[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

参数

startDateComponents
NSDateComponents
endDateComponents
NSDateComponents

返回

属性

适用于