Share via


HKErrorCodeExtensions Class

Definition

Extension methods for the HKErrorCode enumeration.

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static class HKErrorCodeExtensions
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
type HKErrorCodeExtensions = class
Inheritance
HKErrorCodeExtensions
Attributes

Remarks

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

Methods

Name Description
GetDomain(HKErrorCode)

Returns the error domain associated with the HealthKit.HKErrorCode value

Applies to