Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business

Notification

The Notification item represents a single local notification which can be scheduled with the NotificationManager item. More...

Import Statement: import Felgo 4.0

Properties

Detailed Description

For more information also have a look at Notification Plugin.

Property Documentation

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

A relative time interval in seconds 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 timestamp.


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.


Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded