Notification

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

Import Statement: import VPlayPlugins.notification 1.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.


Voted #1 for:

  • Easiest to learn
  • Most time saving
  • Best support

Develop Cross-Platform Apps and Games 50% Faster!

  • Voted the best supported, most time-saving and easiest to learn cross-platform development tool
  • Based on the Qt framework, with native performance and appearance on all platforms including iOS and Android
  • Offers a variety of plugins to monetize, analyze and engage users
FREE!
create apps
create games
cross platform
native performance
3rd party services
game network
multiplayer
level editor
easiest to learn
biggest time saving
best support