public class NotificationsService
extends java.lang.Object
Constructor and Description |
---|
NotificationsService(MambuAPIService mambuAPIService)
Create a new notifications service
|
Modifier and Type | Method and Description |
---|---|
boolean |
resendFailedNotifications(java.util.List<java.lang.String> identifiers)
Resends the failed messages.
|
@Inject public NotificationsService(MambuAPIService mambuAPIService)
mambuAPIService
- the service responsible with the connection to the serverpublic boolean resendFailedNotifications(java.util.List<java.lang.String> identifiers) throws MambuApiException
identifiers
- a list of identifiers (i.e encodedKeys) of the notifications that need to be resent. Only unique
encoded keys can be specified within the list.MambuApiException