다음을 통해 공유


UNNotificationActionOptions 열거형

정의

알림 작업에 대한 동작 옵션을 열거합니다.

이 열거형은 멤버 값의 비트 조합을 지원합니다.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 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)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[System.Flags]
public enum UNNotificationActionOptions
type UNNotificationActionOptions = 
상속
UNNotificationActionOptions
특성

필드

AuthenticationRequired 1

사용자에게 작업에 응답하도록 디바이스의 잠금을 해제하라는 메시지를 표시합니다.

Destructive 2

알림 작업이 취소할 수 없는 변경을 수행했음을 나타냅니다. (작업에 특수 강조 표시가 적용됩니다.)

Foreground 4

앱은 작업에 응답할 때 포그라운드에서 시작되며, 앱이 잠겨 있는 경우 사용자에게 디바이스 잠금을 해제하라는 메시지를 표시합니다.

None 0

지정된 옵션이 없습니다.

적용 대상