A Notification is an object that can be sent to notify a user of a particular event.
Notifications can be created by caplin.streamlink.alerts.Trigger's firing when their conditions are met or by being sent from a Notifications adapter.
Attributes | Name and Description |
---|---|
|
caplin.streamlink.alerts.Notification()
|
Attributes | Name and Description |
---|---|
|
void
getId()
* Gets the unique id of the notification, can be used to dismiss the notification from * the NotificationProvider. |
|
void
getParameters()
* Gets a map that contains the notification data fields. |
►
caplin.streamlink.alerts.Notification()
►
void
getId()
*
Gets the unique id of the notification, can be used to dismiss the notification from * the NotificationProvider.
* @returns {String} the unique id.
►
void
getParameters()
*
Gets a map that contains the notification data fields.
* @returns {Object} the map of parameters.