Optionalevents[Optional] A function called when events are discarded.
The array of events that have been discarded.
The reason for discarding the events. The EventsDiscardedReason constant should be used to check the different values.
Optionalevents[Optional] A function called when the events have been requested to be sent to the sever.
The reason why the event batch is being sent.
OptionalisAsync: booleanA flag which identifies whether the requests are being sent in an async or sync manner.
Optionalevents[Optional] A function called when events are sent.
The array of events that have been sent.
Optionalperf[Optional] This event is sent if you have enabled perf events, they are primarily used to track internal performance testing and debugging the event can be displayed via the debug plugin extension.
The performance event object
OptionalofflineOptionalofflineOptionaloffline[Optional] A function called when the offline events have been stored to the persistent storage
items that are stored in the persistent storage
OptionalunloadUnload and remove any state that this INotificationListener may be holding, this is generally called when the owning Manager is being unloaded.
OptionalisAsync: booleanCan the unload be performed asynchronously (default)
If the unload occurs synchronously then nothing should be returned, if happening asynchronously then the function should return an IPromise / Promise to allow any listeners to wait for the operation to complete.
An interface used for the notification listener.
Interface