Class MessageHelper


  • public class MessageHelper
    extends java.lang.Object
    A utility class for handling message-related operations. This class provides methods for pushing notifications and managing message-related tasks.
    • Constructor Summary

      Constructors 
      Constructor Description
      MessageHelper()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void pushNotification​(Notification notification)
      Pushes a notification to the platform.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MessageHelper

        public MessageHelper()
    • Method Detail

      • pushNotification

        public static void pushNotification​(Notification notification)
        Pushes a notification to the platform.
        Parameters:
        notification - The notification to be pushed.
        Throws:
        java.lang.IllegalStateException - if the method is called without proper platform implementation.
        See Also:
        Notification