public interface NotificationListener
SyncEngine's addNotificationListener method. When
the notification event occurs, that object's appropriate method is called back.| Modifier and Type | Method and Description |
|---|---|
void |
notifyApplicationReset()
Notify data application reset.
|
void |
notifyAttachmentDownloadFailure(com.unvired.model.AttachmentItem attachmentItem,
java.lang.String errorMessage)
Notify the application about failing a download of a file .
|
void |
notifyAttachmentDownloadSuccess(com.unvired.model.AttachmentItem attachmentItem)
Notify the application about successful download of a file .
|
void |
notifyAttachmentOutBoxItemDiscarded(InfoMessage infoMessage)
Notify discard of AttachmentOutBoxItem
|
void |
notifyAttachmentSendAbort() |
void |
notifyDataChange(java.util.Vector dataNotifications)
Notify data changes.
|
void |
notifyDataReceiveCompletion()
Notify data receive completion.
|
void |
notifyDataRetreiverAbort() |
void |
notifyDataSend(com.unvired.model.OutObject outObject)
Notify successful asynchronous send of data to the server.
|
void |
notifyDataSendAbort() |
void |
notifyDemoMode(java.lang.String message)
Notify the application about demo mode message.
|
void |
notifyException(java.lang.Exception e)
Notify exception.
|
void |
notifyIncomingDataProcessingFinished() |
void |
notifyOutBoxItemDiscarded(InfoMessage infoMessage)
Notify discard of OutboxItem
|
void |
notifyServerMessages(java.util.Vector infoMessages)
Notify the application with the server messages received.
|
void notifyDataChange(java.util.Vector dataNotifications)
Vector - of DataNotification objects.void notifyDataReceiveCompletion()
void notifyDataSend(com.unvired.model.OutObject outObject)
outObject - the out objectvoid notifyException(java.lang.Exception e)
e - Exception occurred in the application.void notifyServerMessages(java.util.Vector infoMessages)
infoMessages - Vector of InfoMessages received from the server.void notifyDemoMode(java.lang.String message)
message - Message to the applicationvoid notifyAttachmentDownloadSuccess(com.unvired.model.AttachmentItem attachmentItem)
attachmentItem - AttachmentItem to the applicationvoid notifyAttachmentDownloadFailure(com.unvired.model.AttachmentItem attachmentItem,
java.lang.String errorMessage)
attachmentItem - AttachmentItem to the applicationerrorMessage - String to the applicationvoid notifyApplicationReset()
void notifyOutBoxItemDiscarded(InfoMessage infoMessage)
infoMessage - InfoMessage to the applicationvoid notifyAttachmentOutBoxItemDiscarded(InfoMessage infoMessage)
infoMessage - InfoMessage to the applicationvoid notifyDataSendAbort()
void notifyAttachmentSendAbort()
void notifyDataRetreiverAbort()
void notifyIncomingDataProcessingFinished()
Copyright © 2017 Unvired Inc. All Rights Reserved.