Edit

Share via


HKQuery.GetPredicateForQuantitySamples Method

Definition

Creates and returns a predicate that can be used to get samples by quantity.

[Foundation.Export("predicateForQuantitySamplesWithOperatorType:quantity:")]
public static Foundation.NSPredicate GetPredicateForQuantitySamples (Foundation.NSPredicateOperatorType operatorType, HealthKit.HKQuantity quantity);
static member GetPredicateForQuantitySamples : Foundation.NSPredicateOperatorType * HealthKit.HKQuantity -> Foundation.NSPredicate

Parameters

quantity
HKQuantity

Returns

Attributes

Applies to