Share via


HKQuantitySeriesSampleBuilder.Insert Method

Definition

Overloads

Insert(HKQuantity, NSDate, NSError)

[Foundation.Export("insertQuantity:date:error:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual bool Insert(HealthKit.HKQuantity quantity, Foundation.NSDate date, out Foundation.NSError? error);
[<Foundation.Export("insertQuantity:date:error:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member Insert : HealthKit.HKQuantity * Foundation.NSDate * NSError -> bool
override this.Insert : HealthKit.HKQuantity * Foundation.NSDate * NSError -> bool

Parameters

quantity
HKQuantity
date
NSDate
error
NSError

Returns

Attributes

Applies to

Insert(HKQuantity, NSDateInterval, NSError)

[Foundation.Export("insertQuantity:dateInterval:error:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual bool Insert(HealthKit.HKQuantity quantity, Foundation.NSDateInterval dateInterval, out Foundation.NSError? error);
[<Foundation.Export("insertQuantity:dateInterval:error:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member Insert : HealthKit.HKQuantity * Foundation.NSDateInterval * NSError -> bool
override this.Insert : HealthKit.HKQuantity * Foundation.NSDateInterval * NSError -> bool

Parameters

quantity
HKQuantity
dateInterval
NSDateInterval
error
NSError

Returns

Attributes

Applies to