Webportal v1

embedded apps

API Reference - WebPortal.getPendingNotifications()

WebPortal.getPendingNotifications()

Type Method
Min Privacy Full
Type Deprecated
wave 2
wave 3
wave 4

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.