Acknowledge the alarm condition of the notification with the supplied identifier.
Sets status.acknowledged = true
Removes sound from method
Note: Calling this method on a Notifications with a status of canAcknowledge = false will throw an Error
Notification identifier.
Clears the alarm from the notification with the supplied identifier
by setting state = normal
Note: Calling this method on a Notifications with a status of canClear = false will throw an Error
Notification identifier.
Retrieve the notification with the supplied identifier.
Notification identifier.
Retrieve the notification(s) with the supplied path.
Notification path.
Retrieve a list notifications keyed by identifier.
Raise a Person Overboard (MOB) notification.
Optionalmessage: stringMessage to display or speak.
Notification Identifier
Raises a new notification and assigns an identifier.
Alarm options.
Notification Identifier
app.notifications.raise({
state: 'warn',
message: 'Port engine temperature is higher than normal.'
})
// path = `notifications.{notificationId}`
Silence the alarm of the notification with the supplied identifier.
Sets status.silenced = true
Removes sound from method
Note: Calling this method on a Notifications with a status of canSilence = false will throw an Error
Notification identifier.
Update the notification with the supplied identifier.
Notification identifier.
Alarm options.
Plugin interface functions.
See
Notifications REST API for further details.