共用方式為


HKUnit.GetEnergyFormatterUnit(HKUnit) 方法

定義

建立用來顯示 unit 的能源格式器。

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

參數

unit
HKUnit

傳回

屬性

適用於