The Notification item represents a single local notification which can be scheduled with the NotificationManager item. More...
Import Statement: | import Felgo 4.0 |
For more information also have a look at Notification Plugin.
message : string |
The message you want to display with the notification as soon as a notification is presented to the user. The message is visible in a pop-up or banner if your app is in the background state.
notificationId : string |
A unique identifier for this notification. If you don't set the notificationId
manually the NotificationManager item will create a randomly created one as soon as
you schedule the notification.
The notificationId
can be used to later on cancel an already scheduled notification.
number : int |
The number is either presented as badge value on the app icon on iOS or in the notification area of Android along the presented notification. The number is cleared out automatically as soon as the user opens your app again.
As an example you can use the number property to display the amount of overdue tasks for a to-do app.
timeInterval : int |
timestamp : int |
The absolute UNIX timestamp at which the notification should be fired. For scheduling a notification you can either set the absolute timestamp
property or the relative timeInterval property, one of the two properties must be set.
See also timeInterval.
As part of the free Business evaluation, we offer a free welcome call for companies, to talk about your requirements, and how the Felgo SDK & Services can help you. Just sign up and schedule your call.
Sign up now to start your free Business evaluation: