HKUnit.FromEnergyFormatterUnit(NSEnergyFormatterUnit) 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.
[Foundation.Export("unitFromEnergyFormatterUnit:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static HealthKit.HKUnit FromEnergyFormatterUnit(Foundation.NSEnergyFormatterUnit energyFormatterUnit);
[<Foundation.Export("unitFromEnergyFormatterUnit:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member FromEnergyFormatterUnit : Foundation.NSEnergyFormatterUnit -> HealthKit.HKUnit
Parameters
- energyFormatterUnit
- NSEnergyFormatterUnit
Returns
- Attributes