HKUnit.CreateJouleUnit(HKMetricPrefix) 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.
Creates a unit for measuring energy in joules.
[Foundation.Export("jouleUnitWithMetricPrefix:")]
public static HealthKit.HKUnit CreateJouleUnit (HealthKit.HKMetricPrefix prefix);
static member CreateJouleUnit : HealthKit.HKMetricPrefix -> HealthKit.HKUnit
Parameters
- prefix
- HKMetricPrefix
Returns
- Attributes