Package tech.muyan.utils
Class MessageHelper
- java.lang.Object
-
- tech.muyan.utils.MessageHelper
-
public class MessageHelper extends java.lang.ObjectA 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 voidpushNotification(Notification notification)Pushes a notification to the platform.
-
-
-
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
-
-