public class UserNotification extends Notification
| Constructor and Description |
|---|
UserNotification(String sender,
String content,
boolean mustPopUp,
boolean volatileFlag)
Constrói a notificação.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isVolatile()
Indica se a notificação é volátil ou não.
|
String |
toString()
Requer esta implementação apenas para auditagem nos logs do servidor.
|
getDisplay, getMustPopUp, getSender, setDisplaygetCreationDatepublic UserNotification(String sender, String content, boolean mustPopUp, boolean volatileFlag)
sender - Quem está enviando a notificação (não pode ser null).content - a string com a mensagem.mustPopUp - flag indicativo de popup da mensagem da tela.volatileFlag - indicativo de volatilidade.public boolean isVolatile()
isVolatile in class Notificationpublic String toString()
toString in class NotificationCopyright © 2017. All rights reserved.