HKAuthorizationRequestStatus Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Enumerates values that tell when an app should request user permission for access.
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 5, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 12, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public enum HKAuthorizationRequestStatus
type HKAuthorizationRequestStatus =
- Inheritance
-
HKAuthorizationRequestStatus
- Attributes
Fields
Name | Value | Description |
---|---|---|
Unknown | 0 | Indicates that it is unknown whether the app should request user permission. |
ShouldRequest | 1 | Indicates that the app should request user permission. |
Unnecessary | 2 | Indicates that the app does not need to request user permission. |