WebPortal.getPendingNotifications()
WebPortal.getPendingNotifications()
Description |
Gets the notifications currently pending. Look at Receiving MQTT Message for an integration example. |
Response |
The Notifications as Array (either empty or containing Strings) or Unrecognised Error if the application is not fully launched. |
Parameter |
String The application ID (AppID). |
Example
1
2
| var notificationMessages = WebPortal.getPendingNotifications()
// notificationMessages = []
|
This method is deprecated, it should not be used in a new project.