Düzenle

Aracılığıyla paylaş


HKAuthorizationStatus Enum

Definition

Enumerates the permission of the app to read or write health data.

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

Fields

Name Value Description
NotDetermined 0

The permission has not yet been determined.

SharingDenied 1

Sharing is not allowed.

SharingAuthorized 2

Sharing is allowed.

Applies to