Compartilhar via


UIUserNotificationType Enumeração

Definição

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.

Aplica-se a