Upravit

Sdílet prostřednictvím


HKObjectType.GetQuantityType(NSString) Method

Definition

Caution

Use 'HKQuantityType.Create (HKQuantityTypeIdentifier)'.

Returns the quantity type of hkTypeIdentifier.

[Foundation.Export("quantityTypeForIdentifier:")]
[System.Obsolete("Use 'HKQuantityType.Create (HKQuantityTypeIdentifier)'.", false)]
public static HealthKit.HKQuantityType GetQuantityType (Foundation.NSString hkTypeIdentifier);
static member GetQuantityType : Foundation.NSString -> HealthKit.HKQuantityType

Parameters

hkTypeIdentifier
NSString

Returns

Attributes

Applies to