Share via


HKLiveWorkoutDataSource.EnableCollection(HKQuantityType, NSPredicate) Method

Definition

[Foundation.Export("enableCollectionForType:predicate:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void EnableCollection(HealthKit.HKQuantityType quantityType, Foundation.NSPredicate? predicate);
[<Foundation.Export("enableCollectionForType:predicate:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member EnableCollection : HealthKit.HKQuantityType * Foundation.NSPredicate -> unit
override this.EnableCollection : HealthKit.HKQuantityType * Foundation.NSPredicate -> unit

Parameters

quantityType
HKQuantityType
predicate
NSPredicate
Attributes

Applies to