Поделиться через


UIUserNotificationActionContext Перечисление

Определение

Перечисляет объем пространства, доступного для .UIUserNotificationAction Используется с 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 = 
Наследование
UIUserNotificationActionContext
Атрибуты

Поля

Default 0

Для оповещения уведомления отображается полный пользовательский интерфейс. Допускает до четырех UIUserNotificationAction.

Minimal 1

Для оповещения уведомления доступно только минимальное пространство. Допускает до двух UIUserNotificationAction.

Применяется к