Share via


HKQuery.GetPredicateForStatesOfMind Method

Definition

Overloads

GetPredicateForStatesOfMind(HKStateOfMindAssociation)

[Foundation.Export("predicateForStatesOfMindWithAssociation:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static Foundation.NSPredicate GetPredicateForStatesOfMind(HealthKit.HKStateOfMindAssociation association);
[<Foundation.Export("predicateForStatesOfMindWithAssociation:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member GetPredicateForStatesOfMind : HealthKit.HKStateOfMindAssociation -> Foundation.NSPredicate

Parameters

Returns

Attributes

Applies to

GetPredicateForStatesOfMind(HKStateOfMindKind)

[Foundation.Export("predicateForStatesOfMindWithKind:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static Foundation.NSPredicate GetPredicateForStatesOfMind(HealthKit.HKStateOfMindKind kind);
[<Foundation.Export("predicateForStatesOfMindWithKind:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member GetPredicateForStatesOfMind : HealthKit.HKStateOfMindKind -> Foundation.NSPredicate

Parameters

Returns

Attributes

Applies to

GetPredicateForStatesOfMind(HKStateOfMindLabel)

[Foundation.Export("predicateForStatesOfMindWithLabel:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static Foundation.NSPredicate GetPredicateForStatesOfMind(HealthKit.HKStateOfMindLabel label);
[<Foundation.Export("predicateForStatesOfMindWithLabel:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member GetPredicateForStatesOfMind : HealthKit.HKStateOfMindLabel -> Foundation.NSPredicate

Parameters

Returns

Attributes

Applies to

GetPredicateForStatesOfMind(Double, NSPredicateOperatorType)

[Foundation.Export("predicateForStatesOfMindWithValence:operatorType:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static Foundation.NSPredicate GetPredicateForStatesOfMind(double valence, Foundation.NSPredicateOperatorType operatorType);
[<Foundation.Export("predicateForStatesOfMindWithValence:operatorType:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member GetPredicateForStatesOfMind : double * Foundation.NSPredicateOperatorType -> Foundation.NSPredicate

Parameters

valence
Double

Returns

Attributes

Applies to