public final class SimpleNotification extends Object implements Notification
| Constructor and Description |
|---|
SimpleNotification(NotificationId id,
String soundUrl,
String buildDetails) |
| Modifier and Type | Method and Description |
|---|---|
long |
getAgeInMs()
The time elapsed in milliseconds since the notification was created.
|
NotificationId |
getId()
A unique id for the notification.
|
String |
getSoundUrl()
The URL of a sound to play in the browser.
|
String |
toString() |
public SimpleNotification(NotificationId id, String soundUrl, String buildDetails)
public NotificationId getId()
NotificationgetId in interface Notificationpublic final String getSoundUrl()
NotificationgetSoundUrl in interface Notificationpublic final long getAgeInMs()
NotificationgetAgeInMs in interface NotificationCopyright © 2004-2011. All Rights Reserved.