Class
caplin.streamlink.alerts

Notification

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.

Constructor Summary

Attributes Name and Description
caplin.streamlink.alerts.Notification()

Method Summary

Attributes Name and Description
String getId()

Gets the unique id of the notification, can be used to dismiss the notification from the NotificationProvider.

Object getParameters()

Gets a map that contains the notification data fields.

Constructor Detail

caplin.streamlink.alerts.Notification()

Method Detail

String getId()

Gets the unique id of the notification, can be used to dismiss the notification from the NotificationProvider.

Returns
{String} the unique id.

Object getParameters()

Gets a map that contains the notification data fields.

Returns
{Object} the map of parameters.