Edit

Share via


HKQuery.GetPredicateForTotalSwimmingStrokeCount Method

Definition

Returns a predicate that matches workousts that have the specified totalSwimmingStrokeCount.

[Foundation.Export("predicateForWorkoutsWithOperatorType:totalSwimmingStrokeCount:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 3, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static Foundation.NSPredicate GetPredicateForTotalSwimmingStrokeCount (Foundation.NSPredicateOperatorType operatorType, HealthKit.HKQuantity totalSwimmingStrokeCount);
static member GetPredicateForTotalSwimmingStrokeCount : Foundation.NSPredicateOperatorType * HealthKit.HKQuantity -> Foundation.NSPredicate

Parameters

totalSwimmingStrokeCount
HKQuantity

Returns

Attributes

Applies to