Package com.caplin.streamlink.alerts
Interface Notification
-
public interface Notification
A Notification is an object that can be sent to notify a user of a particular event.
Notifications can be created by
Trigger
's firing when their conditions are met or by being sent from a Notifications adapter.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getId()
Gets the unique id of the notification, can be used to dismiss the notification from the NotificationProvider.java.util.Map<java.lang.String,java.lang.String>
getParameters()
Gets a map that contains the notification data fields.
-
-
-
Method Detail
-
getId
java.lang.String getId()
Gets the unique id of the notification, can be used to dismiss the notification from the NotificationProvider.
- Returns:
- the unique id.
-
getParameters
java.util.Map<java.lang.String,java.lang.String> getParameters()
Gets a map that contains the notification data fields.
- Returns:
- the map of parameters.
-
-