다음을 통해 공유


UNAuthorizationStatus 열거형

정의

사용자가 알림을 게시할 수 있는 권한 요청에 응답할 수 있는 방법을 열거합니다.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 3, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 14, ObjCRuntime.PlatformArchitecture.Arch64, null)]
public enum UNAuthorizationStatus
type UNAuthorizationStatus = 
상속
UNAuthorizationStatus
특성

필드

Authorized 2

사용자가 앱에서 알림을 게시하도록 허용했습니다.

Denied 1

사용자가 알림을 게시할 수 있는 앱 권한을 거부했습니다.

NotDetermined 0

사용자가 알림을 게시할 수 있는 앱 권한을 아직 허용하거나 거부하지 않았습니다.

Provisional 3

사용자가 임시 비임계 알림을 허용했습니다.

적용 대상