TTMSFNCCustomWebPushSender.SendNotificationAll Method
Sends a raw JSON payload to every active subscription in the store using default delivery options. Requires an assigned subscription store.
API unit family: TMS.TMSFNCWebPushSender
Declaring type: TTMSFNCCustomWebPushSender
Overloads
Overload 1
Sends a raw JSON payload to every active subscription in the store using default delivery options. Requires an assigned subscription store.
TMS.TMSFNCWebPushSender.hpp Pascal C++ procedure SendNotificationAll(const APayload: string); overload;
void __fastcall SendNotificationAll(const System::UnicodeString APayload)/* overload */;
Parameters
Name
Description
APayload
JSON payload string to send.
Exceptions
Exception
Description
EWebPush
Raised when no subscription store is assigned.
Overload 2
Sends a raw JSON payload to every active subscription in the store using the specified delivery options. Requires an assigned subscription store.
TMS.TMSFNCWebPushSender.hpp Pascal C++ procedure SendNotificationAll(const APayload: string; AMessageSettings: TTMSFNCWebPushMessageSettings); overload;
void __fastcall SendNotificationAll(const System::UnicodeString APayload, const TTMSFNCWebPushMessageSettings &AMessageSettings)/* overload */;
Parameters
Name
Description
APayload
JSON payload string to send.
AMessageSettings
Urgency and topic options for this message.
Exceptions
Exception
Description
EWebPush
Raised when no subscription store is assigned.
Overload 3
Sends a notification with a title and body to every active subscription in the store using default delivery options. Requires an assigned subscription store.
TMS.TMSFNCWebPushSender.hpp Pascal C++ procedure SendNotificationAll(const ATitle, ABody: string); overload;
void __fastcall SendNotificationAll(const System::UnicodeString ATitle, const System::UnicodeString ABody)/* overload */;
Parameters
Name
Description
ATitle
Notification title.
ABody
Notification body text.
Exceptions
Exception
Description
EWebPush
Raised when no subscription store is assigned.
Overload 4
Sends a notification with a title and body to every active subscription in the store using the specified delivery options. Requires an assigned subscription store.
TMS.TMSFNCWebPushSender.hpp Pascal C++ procedure SendNotificationAll(const ATitle, ABody: string; AMessageSettings: TTMSFNCWebPushMessageSettings); overload;
void __fastcall SendNotificationAll(const System::UnicodeString ATitle, const System::UnicodeString ABody, const TTMSFNCWebPushMessageSettings &AMessageSettings)/* overload */;
Parameters
Name
Description
ATitle
Notification title.
ABody
Notification body text.
AMessageSettings
Urgency and topic options for this message.
Exceptions
Exception
Description
EWebPush
Raised when no subscription store is assigned.
Overload 5
Sends a notification with a title, body, and icon to every active subscription in the store using default delivery options. Requires an assigned subscription store.
TMS.TMSFNCWebPushSender.hpp Pascal C++ procedure SendNotificationAll(const ATitle, ABody, AIconURL: string); overload;
void __fastcall SendNotificationAll(const System::UnicodeString ATitle, const System::UnicodeString ABody, const System::UnicodeString AIconURL)/* overload */;
Parameters
Name
Description
ATitle
Notification title.
ABody
Notification body text.
AIconURL
URL of the notification icon image.
Exceptions
Exception
Description
EWebPush
Raised when no subscription store is assigned.
Overload 6
Sends a notification with a title, body, and icon to every active subscription in the store using the specified delivery options. Requires an assigned subscription store.
TMS.TMSFNCWebPushSender.hpp Pascal C++ procedure SendNotificationAll(const ATitle, ABody, AIconURL: string; AMessageSettings: TTMSFNCWebPushMessageSettings); overload;
void __fastcall SendNotificationAll(const System::UnicodeString ATitle, const System::UnicodeString ABody, const System::UnicodeString AIconURL, const TTMSFNCWebPushMessageSettings &AMessageSettings)/* overload */;
Parameters
Name
Description
ATitle
Notification title.
ABody
Notification body text.
AIconURL
URL of the notification icon image.
AMessageSettings
Urgency and topic options for this message.
Exceptions
Exception
Description
EWebPush
Raised when no subscription store is assigned.
Overload 7
Sends a notification with a title, body, icon, and activation URL to every active subscription in the store using default delivery options. Requires an assigned subscription store.
TMS.TMSFNCWebPushSender.hpp Pascal C++ procedure SendNotificationAll(const ATitle, ABody, AIconURL, AURL: string); overload;
void __fastcall SendNotificationAll(const System::UnicodeString ATitle, const System::UnicodeString ABody, const System::UnicodeString AIconURL, const System::UnicodeString AURL)/* overload */;
Parameters
Name
Description
ATitle
Notification title.
ABody
Notification body text.
AIconURL
URL of the notification icon image.
AURL
URL opened when the recipient activates the notification.
Exceptions
Exception
Description
EWebPush
Raised when no subscription store is assigned.
Overload 8
Sends a notification with a title, body, icon, and activation URL to every active subscription in the store using the specified delivery options. Requires an assigned subscription store.
TMS.TMSFNCWebPushSender.hpp Pascal C++ procedure SendNotificationAll(const ATitle, ABody, AIconURL, AURL: string; AMessageSettings: TTMSFNCWebPushMessageSettings); overload;
void __fastcall SendNotificationAll(const System::UnicodeString ATitle, const System::UnicodeString ABody, const System::UnicodeString AIconURL, const System::UnicodeString AURL, const TTMSFNCWebPushMessageSettings &AMessageSettings)/* overload */;
Parameters
Name
Description
ATitle
Notification title.
ABody
Notification body text.
AIconURL
URL of the notification icon image.
AURL
URL opened when the recipient activates the notification.
AMessageSettings
Urgency and topic options for this message.
Exceptions
Exception
Description
EWebPush
Raised when no subscription store is assigned.
Overload 9
Sends a fully composed notification object to every active subscription in the store using default delivery options. Requires an assigned subscription store.
TMS.TMSFNCWebPushSender.hpp Pascal C++ procedure SendNotificationAll(const APayload: TTMSFNCWebPushNotification); overload;
void __fastcall SendNotificationAll(TTMSFNCWebPushNotification* const APayload)/* overload */;
Parameters
Name
Description
APayload
Notification to serialize and send.
Exceptions
Exception
Description
EWebPush
Raised when no subscription store is assigned.
Overload 10
Sends a fully composed notification object to every active subscription in the store using the specified delivery options. Requires an assigned subscription store.
TMS.TMSFNCWebPushSender.hpp Pascal C++ procedure SendNotificationAll(const APayload: TTMSFNCWebPushNotification; AMessageSettings: TTMSFNCWebPushMessageSettings); overload;
void __fastcall SendNotificationAll(TTMSFNCWebPushNotification* const APayload, const TTMSFNCWebPushMessageSettings &AMessageSettings)/* overload */;
Parameters
Name
Description
APayload
Notification to serialize and send.
AMessageSettings
Urgency and topic options for this message.
Exceptions
Exception
Description
EWebPush
Raised when no subscription store is assigned.