Notification

Static utility class with which Local Notifications can be sent. These can consist of texts, images and icons. It is also possible to set vibration patterns, as well as whether the user should be reminded of the notification after a time, etc. For a full list of option fields, can be set in MDN can be looked up.

Example of a notification:

final LocalNotificationOptions options = new LocalNotificationOptions()
  .setBody("I am a very long description that will tell you all about this notification!")
  .setRenotify(true)
  .setTag("test-notification");

Notification.showLocalNotification("I am a Notification!", options);