Läs på engelska Redigera

Dela via


HKQuery.GetPredicateForTotalDistance Method

Definition

Creates and returns a predicate that can be used to get workouts by distance.

C#
[Foundation.Export("predicateForWorkoutsWithOperatorType:totalDistance:")]
public static Foundation.NSPredicate GetPredicateForTotalDistance (Foundation.NSPredicateOperatorType operatorType, HealthKit.HKQuantity totalDistance);

Parameters

totalDistance
HKQuantity

Returns

Attributes

Applies to

Produkt Versioner
Xamarin iOS SDK 12