HKQuantity.FromQuantity(HKUnit, Double) Method

Definition

Creates and returns a quantity of dimension unit and magnitude value.

[Foundation.Export("quantityWithUnit:doubleValue:")]
public static HealthKit.HKQuantity FromQuantity (HealthKit.HKUnit unit, double value);
static member FromQuantity : HealthKit.HKUnit * double -> HealthKit.HKQuantity

Parameters

unit
HKUnit
value
Double

Returns

Attributes

Applies to