Share via


UIUserNotificationActionContext Enumeration

Definition

Listet den für einen verfügbaren Speicherplatz auf UIUserNotificationAction. Wird mit SetActions(UIUserNotificationAction[], UIUserNotificationActionContext) verwendet.

[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'UNNotificationCategory.Actions' instead.")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public enum UIUserNotificationActionContext
type UIUserNotificationActionContext = 
Vererbung
UIUserNotificationActionContext
Attribute

Felder

Default 0

Die vollständige Benutzeroberfläche wird für die Warnung der Benachrichtigung angezeigt. Ermöglicht bis zu vier UIUserNotificationActions.

Minimal 1

Für die Warnung der Benachrichtigung ist nur minimaler Speicherplatz verfügbar. Ermöglicht bis zu zwei UIUserNotificationActions.

Gilt für: