Düzenle

Aracılığıyla paylaş


HKAuthorizationRequestStatus Enum

Definition

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.

Applies to