HKQuantity.GetDoubleValue(HKUnit) 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.
Returns the value of the quantity when it is expressed in the units specified by unit
.
[Foundation.Export("doubleValueForUnit:")]
public virtual double GetDoubleValue (HealthKit.HKUnit unit);
abstract member GetDoubleValue : HealthKit.HKUnit -> double
override this.GetDoubleValue : HealthKit.HKUnit -> double
Parameters
- unit
- HKUnit
Returns
- Attributes