HKAuthorizationStatus 枚举

定义

枚举应用读取或写入运行状况数据的权限。

[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 = 
继承
HKAuthorizationStatus
属性

字段

NotDetermined 0

权限尚未确定。

SharingAuthorized 2

允许共享。

SharingDenied 1

不允许共享。

适用于