Edit

Share via


HKQuery.GetPredicateForSamples(NSDate, NSDate, HKQueryOptions) Method

Definition

Creates and returns a predicate that can be used to get samples that are in a date range.

[Foundation.Export("predicateForSamplesWithStartDate:endDate:options:")]
public static Foundation.NSPredicate GetPredicateForSamples (Foundation.NSDate startDate, Foundation.NSDate endDate, HealthKit.HKQueryOptions options);
static member GetPredicateForSamples : Foundation.NSDate * Foundation.NSDate * HealthKit.HKQueryOptions -> Foundation.NSPredicate

Parameters

startDate
NSDate

To be added.

This parameter can be null.

endDate
NSDate

To be added.

This parameter can be null.

options
HKQueryOptions

Returns

Attributes

Applies to