Interface NotificationMessage<T>
-
- All Known Implementing Classes:
BaseNotificationMessage
public interface NotificationMessage<T>
The notification message that needs to be transmitted in real time- Author:
- Filip Hrisafov
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Notification
getNotification()
The notification information use for deciding how a message should be displayed.T
getPayload()
The payload for the notification message.String
getType()
The type of the message
-
-
-
Method Detail
-
getPayload
T getPayload()
The payload for the notification message.- Returns:
- the payload of the message
-
getNotification
Notification getNotification()
The notification information use for deciding how a message should be displayed.- Returns:
- the notification information
-
getType
String getType()
The type of the message- Returns:
- the type of the message
-
-