Package com.vasco.digipass.sdk.utils.notification.server
package com.vasco.digipass.sdk.utils.notification.server
-
ClassDescriptionThe Notification object contains all the elements (title, subject...) to build a notification ready to be sent to the user device.Provides the entry points for the NotificationSDKServer library:
NotificationSDKServer(NotificationSDKServerCredentials, NotificationSDKServerSettings, NotificationSDKServerCallbacks)
: contructs the server object;NotificationSDKServer.sendNotification(String, Notification)
: sends a notification to a specific user device;NotificationSDKServer.awaitSendTerminationAndFinish()
: closes remaining tasks according to the object's settings and eventually closes existing connections;NotificationSDKServer.getPayloadLength(Notification, NotificationSDKServerPlatformNames)
: gets the payload length for a specific notification and platform;NotificationSDKServer.getPlatformName(String)
: gets the platform name of a specific user device (NotificationSDKServerPlatformNames
).Callbacks to be implemented when sending a notification.The NotificationSDKServerCredentials object encompasses the customer's credentials necessary to log in to each platform specific push notification services.The NotificationSDKServerSettings object encompasses the NotificationSDKServer object's specific settings.