Table of Contents

TTMSFNCWebPushSender.OnBeforeSendNotification Event

Occurs before each notification is sent, allowing the handler to cancel delivery to a specific recipient.

API unit family: TMS.TMSFNCWebPushSender Declaring type: TTMSFNCWebPushSender Inherited from: TTMSFNCCustomWebPushSender

Syntax

OnBeforeSendNotification: TTMSFNCWebPushBeforeSendNotificationEvent;

Parameters

Name Description
Sender The sender component that raised the event.
AUserData Custom user data stored with the subscription.
AEndpoint The recipient push service endpoint.
APayload The serialized payload about to be sent.
AUserID The target user identifier, when available.
ABrowserID The target browser or device identifier, when available.
AAllow Set to False to skip sending to this recipient.