HKQuantitySeriesSampleBuilder.Insert(HKQuantity, NSDate, NSError) 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.
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
true
if no error occurs. Otherwise, false
.
- Attributes