Bearbeiten

Freigeben über


HKUnit.Calorie Property

Definition

Developers should not use this deprecated property. Developers should use 'SmallCalorie' or 'LargeCalorie' instead.

[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'SmallCalorie' or 'LargeCalorie' instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.WatchOS, 4, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'SmallCalorie' or 'LargeCalorie' instead.")]
public static HealthKit.HKUnit Calorie { [Foundation.Export("calorieUnit")] [ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'SmallCalorie' or 'LargeCalorie' instead.")] [ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.WatchOS, 4, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'SmallCalorie' or 'LargeCalorie' instead.")] get; }
member this.Calorie : HealthKit.HKUnit

Property Value

Attributes

Applies to