# AlertsListener

interface AlertsListener

A listener to receive Alerts entry events.

This interface includes the callback needed to listen to new alert entry and update alert events and to perform the appropriate actions when one of these events are received.

## Functions

onNewAlertEntry
Link copied to clipboard
abstract fun onNewAlertEntry(alerts: Alerts, newAlert: Alert)

Performs any actions that could be required when a new Alert is received.

onUpdateAlert
Link copied to clipboard
abstract fun onUpdateAlert(alerts: Alerts, updateAlert: Alert)

Performs any actions that could be required when a new Alert is received.