Editar

Compartir a través de


HKQuery.GetPredicateForTotalDistance Method

Definition

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

[Foundation.Export("predicateForWorkoutsWithOperatorType:totalDistance:")]
public static Foundation.NSPredicate GetPredicateForTotalDistance (Foundation.NSPredicateOperatorType operatorType, HealthKit.HKQuantity totalDistance);
static member GetPredicateForTotalDistance : Foundation.NSPredicateOperatorType * HealthKit.HKQuantity -> Foundation.NSPredicate

Parameters

totalDistance
HKQuantity

Returns

Attributes

Applies to