Interface NotificationParameters
- All Known Implementing Classes:
StandardNotificationBuilder
public interface NotificationParameters
Specifies the parameters used to send the
Notification.-
Method Summary
Modifier and TypeMethodDescriptionGets theApplicationsending the notification.Gets a read-only mapping of extra key/value properties associated with this notification.Gets the message of the notification.Gets the singularProfilewho will recieve the notification.getSound()Gets the sound to play when delivering the message.getTitle()Ges the title of the notification.
-
Method Details
-
getRecipient
Profile getRecipient()Gets the singularProfilewho will recieve the notification.- Returns:
-
getApplication
Application getApplication()Gets theApplicationsending the notification.- Returns:
- the
Application
-
getTitle
String getTitle()Ges the title of the notification.- Returns:
- the title
-
getMessage
String getMessage()Gets the message of the notification.- Returns:
- the message of the notification
-
getSound
String getSound()Gets the sound to play when delivering the message. Null indicates no sound will be played.- Returns:
- the sound name or null
-
getExtraProperties
Gets a read-only mapping of extra key/value properties associated with this notification. If there are no extra properties, an empty map is returned- Returns:
- A read-only Map of extra properties
-