HKQuery.GetPredicateForDuration(NSPredicateOperatorType, Double) Method

Definition

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

[Foundation.Export("predicateForWorkoutsWithOperatorType:duration:")]
public static Foundation.NSPredicate GetPredicateForDuration (Foundation.NSPredicateOperatorType operatorType, double duration);
static member GetPredicateForDuration : Foundation.NSPredicateOperatorType * double -> Foundation.NSPredicate

Parameters

duration
Double

Returns

Attributes

Applies to