Table of Contents

TTMSFNCWebPushDB.OnBeforeUpdateSubscription Event

Occurs before a subscription payload is updated and lets the handler veto the update.

API unit family: TMS.TMSFNCWebPushDB Declaring type: TTMSFNCWebPushDB Inherited from: TTMSFNCCustomWebPushDB

Syntax

OnBeforeUpdateSubscription: TTMSFNCWebPushDBBeforeSubscriptionEvent;

Parameters

Name Description
Sender The store that raised the event.
ASubscription The subscription payload pending update.
AUserID The associated user identifier, when available.
ABrowserID The associated browser or device identifier, when available.
AAllow Set to False to cancel the update.