![]() |
Notification SDK Server
4.34.0
The Notification SDK Server provides a library to send notification to various devices (iOS and Android)
|
The Notification object contains all the elements (title, subject...) to build a notification ready to be sent to the user device.
It must be provided to the NotificationSDKServer.SendNotification(string, Notification) method.
More...
Public Member Functions | |
Notification (string title, string subject, string content) | |
Creates a Notification object from its mandatory attributes. More... | |
Properties | |
int | TrackingIdentifier [get, set] |
Tracking identifier used to differentiate the notifications in the error/success callbacks. More... | |
string | Content [get, set] |
Content of the notification. More... | |
string | Title [get, set] |
Title of the notification. More... | |
string | Subject [get, set] |
Subject of the notification. More... | |
int | IOSBadge [get, set] |
(iOS only). Sets the notification badge to be displayed next to the application icon. If the badge value is negative, no badge will be sent in the notification, and the badge of the application icon (if there is one) will not be changed. If the badge value is 0, the notification badge and pending notifications in the Notification Center will be removed. Default value is -1 (no badge sent). More... | |
bool | AndroidHeadsUp [get, set] |
(Android only). Sets the android notification to be heads-up. True, if the notification is heads-up. More... | |
bool | HighPriority [get, set] |
(Android only). Sets the priority of the message. True, if the notification is high priority. More... | |
The Notification object contains all the elements (title, subject...) to build a notification ready to be sent to the user device.
It must be provided to the NotificationSDKServer.SendNotification(string, Notification) method.
|
inline |
Creates a Notification object from its mandatory attributes.
title | Text to be displayed as title of the notification. Must not be null. On iOS, the title must not contain any '\n' character. |
subject | Text to be displayed as subject of the notification. Must not be null. |
content | Text to be used as content of the notification. Will be provided to the client application once the notification has been opened. Must not be null. |
|
getset |
(Android only).
Sets the android notification to be heads-up.
True, if the notification is heads-up.
|
getset |
Content of the notification.
|
getset |
(Android only).
Sets the priority of the message.
True, if the notification is high priority.
|
getset |
(iOS only).
Sets the notification badge to be displayed next to the application icon.
If the badge value is negative, no badge will be sent in the notification, and the badge of the application icon (if there is one) will not be changed.
If the badge value is 0, the notification badge and pending notifications in the Notification Center will be removed.
Default value is -1 (no badge sent).
|
getset |
Subject of the notification.
|
getset |
Title of the notification.
|
getset |
Tracking identifier used to differentiate the notifications in the error/success callbacks.