UIUserNotificationActionContext Enumeración
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Enumera la cantidad de espacio disponible para .UIUserNotificationAction Se usa con SetActions(UIUserNotificationAction[], UIUserNotificationActionContext).
[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 =
- Herencia
-
UIUserNotificationActionContext
- Atributos
Campos
Default | 0 | La interfaz de usuario completa se muestra para la alerta de la notificación. Permite hasta cuatro UIUserNotificationActions. |
Minimal | 1 | Solo hay espacio mínimo disponible para la alerta de la notificación. Permite hasta dos UIUserNotificationActions. |