Edit

Share via


HKErrorCodeExtensions Class

Definition

Extension methods for the HealthKit.HKErrorCode enumeration.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 2, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static class HKErrorCodeExtensions
type HKErrorCodeExtensions = class
Inheritance
HKErrorCodeExtensions
Attributes

Remarks

The extension method for the HealthKit.HKErrorCode enumeration can be used to fetch the error ___domain associated with these error codes.

Methods

GetDomain(HKErrorCode)

Returns the error ___domain associated with the HealthKit.HKErrorCode value

Applies to