HKQuantitySeriesSampleBuilder.Insert 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
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