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

    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.
    java.lang.String getType()
    The type of the message
  • Method Details

    • 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

      java.lang.String getType()
      The type of the message
      Returns:
      the type of the message