public class NotificationsManager
extends java.lang.Object
| Constructor and Description |
|---|
NotificationsManager() |
| Modifier and Type | Method and Description |
|---|---|
static void |
processNotification(java.lang.String id)
This method is called from the iOS/Android layer, in a different
thread, so we need to call the runnable in the JavaFX Application
Thread.
|
static boolean |
registerNotification(Notification n)
Register a Notification by its id, for later processing
|
static Notification |
unregisterNotification(java.lang.String id)
Unregister a Notification by its id
|
public static void processNotification(java.lang.String id)
id - the id of the notificationpublic static boolean registerNotification(Notification n)
n - the Notificationpublic static Notification unregisterNotification(java.lang.String id)
id - the id of the Notification