Share via


HKQuery.GetPredicateForMedicationDoseEvent Method

Definition

Overloads

GetPredicateForMedicationDoseEvent(NSDate)

[Foundation.Export("predicateForMedicationDoseEventWithScheduledDate:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static Foundation.NSPredicate GetPredicateForMedicationDoseEvent(Foundation.NSDate scheduledDate);
[<Foundation.Export("predicateForMedicationDoseEventWithScheduledDate:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member GetPredicateForMedicationDoseEvent : Foundation.NSDate -> Foundation.NSPredicate

Parameters

scheduledDate
NSDate

Returns

Attributes

Applies to

GetPredicateForMedicationDoseEvent(NSSet<NSDate>)

[Foundation.Export("predicateForMedicationDoseEventWithScheduledDates:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static Foundation.NSPredicate GetPredicateForMedicationDoseEvent(Foundation.NSSet<Foundation.NSDate> scheduledDates);
[<Foundation.Export("predicateForMedicationDoseEventWithScheduledDates:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member GetPredicateForMedicationDoseEvent : Foundation.NSSet<Foundation.NSDate> -> Foundation.NSPredicate

Parameters

scheduledDates
NSSet<NSDate>

Returns

Attributes

Applies to

GetPredicateForMedicationDoseEvent(NSSet<NSNumber>)

[Foundation.Export("predicateForMedicationDoseEventWithStatuses:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static Foundation.NSPredicate GetPredicateForMedicationDoseEvent(Foundation.NSSet<Foundation.NSNumber> statuses);
[<Foundation.Export("predicateForMedicationDoseEventWithStatuses:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member GetPredicateForMedicationDoseEvent : Foundation.NSSet<Foundation.NSNumber> -> Foundation.NSPredicate

Parameters

statuses
NSSet<NSNumber>

Returns

Attributes

Applies to

GetPredicateForMedicationDoseEvent(NSSet<HKHealthConceptIdentifier>)

[Foundation.Export("predicateForMedicationDoseEventWithMedicationConceptIdentifiers:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static Foundation.NSPredicate GetPredicateForMedicationDoseEvent(Foundation.NSSet<HealthKit.HKHealthConceptIdentifier> medicationConceptIdentifiers);
[<Foundation.Export("predicateForMedicationDoseEventWithMedicationConceptIdentifiers:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member GetPredicateForMedicationDoseEvent : Foundation.NSSet<HealthKit.HKHealthConceptIdentifier> -> Foundation.NSPredicate

Parameters

medicationConceptIdentifiers
NSSet<HKHealthConceptIdentifier>

Returns

Attributes

Applies to

GetPredicateForMedicationDoseEvent(HKHealthConceptIdentifier)

[Foundation.Export("predicateForMedicationDoseEventWithMedicationConceptIdentifier:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static Foundation.NSPredicate GetPredicateForMedicationDoseEvent(HealthKit.HKHealthConceptIdentifier medicationConceptIdentifier);
[<Foundation.Export("predicateForMedicationDoseEventWithMedicationConceptIdentifier:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member GetPredicateForMedicationDoseEvent : HealthKit.HKHealthConceptIdentifier -> Foundation.NSPredicate

Parameters

medicationConceptIdentifier
HKHealthConceptIdentifier

Returns

Attributes

Applies to

GetPredicateForMedicationDoseEvent(HKMedicationDoseEventLogStatus)

[Foundation.Export("predicateForMedicationDoseEventWithStatus:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static Foundation.NSPredicate GetPredicateForMedicationDoseEvent(HealthKit.HKMedicationDoseEventLogStatus status);
[<Foundation.Export("predicateForMedicationDoseEventWithStatus:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member GetPredicateForMedicationDoseEvent : HealthKit.HKMedicationDoseEventLogStatus -> Foundation.NSPredicate

Parameters

Returns

Attributes

Applies to

GetPredicateForMedicationDoseEvent(NSDate, NSDate)

[Foundation.Export("predicateForMedicationDoseEventWithScheduledStartDate:endDate:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static Foundation.NSPredicate GetPredicateForMedicationDoseEvent(Foundation.NSDate? startDate, Foundation.NSDate? endDate);
[<Foundation.Export("predicateForMedicationDoseEventWithScheduledStartDate:endDate:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member GetPredicateForMedicationDoseEvent : Foundation.NSDate * Foundation.NSDate -> Foundation.NSPredicate

Parameters

startDate
NSDate
endDate
NSDate

Returns

Attributes

Applies to