Display notification dialog boxes and handle errors.
It can be important to let users know what's going on in your app, even when they're not actively using it. You can set up notifications that occur in response to a particular event on the device or in your app. For example, you can vibrate the device, flash the LED, play a sound, or take some other action when an event occurs.
Libraries and permissions
To link against these classes, add the following line to your .pro file:
LIBS += -lbbplatform
You must also specify the following permissions in your bar-descriptor.xml file:
To learn more about notifications and how to use them in your apps, visit the Notifications documentation.
To download a code sample that demonstrates how to use notifications in your apps, visit the Cascades Samples repository in Github.