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()
Notification
getId
in interface Notification
public final String getSoundUrl()
Notification
getSoundUrl
in interface Notification
public final long getAgeInMs()
Notification
getAgeInMs
in interface Notification
Copyright © 2004-2011. All Rights Reserved.