UIUserNotificationType Enumeração
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Enumera os vários tipos de notificação do usuário. Pode ser "OR" juntos como sinalizadores.
Essa enumeração dá suporte a uma combinação bit a bit dos valores de membro.
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'UNAuthorizationOptions' 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)]
[System.Flags]
public enum UIUserNotificationType
type UIUserNotificationType =
- Herança
-
UIUserNotificationType
- Atributos
Campos
Alert | 4 | Alertas de texto. |
Badge | 1 | Modificações no selo do ícone do aplicativo. |
None | 0 | Nenhum tipo de notificações é permitido. |
Sound | 2 | Toca um som. |