- Companion:
- class
- Deprecated
Value members
Deprecated methods
Construct a new NotificationOptions
Construct a new NotificationOptions
- Value parameters:
- body
The body text of the notification.
- dir
The text direction of the notification.
- icon
The icon URL of the notification.
- lang
The text direction of the notification.
- noscreen
Boolean indicating if notification firing should enable the device's screen or not
- renotify
Boolean indicating whether the user should be notified after a new notification replaces an old one.
- silent
Boolean indicating specifies whether the notification should be silent, i.e. no sounds or vibrations should be issued, regardless of the device settings
- sound
The URL of an audio file to be played when the notification fires.
- sticky
Boolean indicating whether the notification should be 'sticky', i.e. not easily clearable by the user.
- tag
A text identifying tag for the notification.
- vibrate
The vibration pattern for hardware to emit
- Returns:
a new NotificationOptions
- Deprecated