HKQuantitySeriesSampleBuilder.Insert(HKQuantity, NSDate, NSError) Method

Definition

Inserts a quantity at a specified time.

[Foundation.Export("insertQuantity:date:error:")]
public virtual bool Insert (HealthKit.HKQuantity quantity, Foundation.NSDate date, out Foundation.NSError error);
abstract member Insert : HealthKit.HKQuantity * Foundation.NSDate *  -> bool
override this.Insert : HealthKit.HKQuantity * Foundation.NSDate *  -> bool

Parameters

quantity
HKQuantity

The quantity data to insert.

date
NSDate

The time at which to insert the data.

error
NSError

A location to store any error that occurs.

Returns

Boolean

true if no error occurs. Otherwise, false.

Attributes

Applies to