Bewerken

Delen via


HKUnit.GetEnergyFormatterUnit(HKUnit) Method

Definition

Creates an energy formatter for displaying unit.

[Foundation.Export("energyFormatterUnitFromUnit:")]
public static Foundation.NSEnergyFormatterUnit GetEnergyFormatterUnit (HealthKit.HKUnit unit);
static member GetEnergyFormatterUnit : HealthKit.HKUnit -> Foundation.NSEnergyFormatterUnit

Parameters

unit
HKUnit

Returns

Attributes

Applies to