HKQuery.GetPredicateForStatesOfMind 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.
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
- association
- HKStateOfMindAssociation
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
- kind
- HKStateOfMindKind
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
- label
- HKStateOfMindLabel
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
- operatorType
- NSPredicateOperatorType
Returns
- Attributes