HKQuery.GetPredicateForDuration(NSPredicateOperatorType, Double) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- operatorType
- NSPredicateOperatorType
- duration
- Double
Returns
- Attributes