Alerts
class Alerts
Functions
Link copied to clipboard
Accept an alert.
Link copied to clipboard
Adds a listener to receive alerts events.
Link copied to clipboard
Cancel an alert.
Link copied to clipboard
fun getAlerts(acceptedSince: Long? = null, expiredSince: Long? = null, cancelledSince: Long? = null, onCompletion: (Either<AlertContainer, SippoResourceError>) -> Unit)
Fetches all the alerts from the specified params acceptedSince, expiredSince , cancelledSince if they are provided.
Link copied to clipboard
fun getAvailableAlertTemplates(onCompletion: (Either<List<AlertTemplate>, SippoResourceError>) -> Unit)
Fetches all alert templates available.
Link copied to clipboard
Removes the specified listener.
Link copied to clipboard
Send an Alert with a specified template by AlertTemplate.