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.
OptionalsendType: number[Optional] The send type used when the events were discarded.
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.
Flush accumulated counts and emit metrics via the configured track function.
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
Flush remaining counts and cancel the timer.
Optionalevents[Optional] A function called when events are being retried.
The array of events that are being retried.
The HTTP status code that triggered the retry.
OptionalofflineOptionaloffline[Optional] A function called when the offline events have been sent from the persistent storage
payload data that is sent from the persistent storage
Optionaloffline[Optional] A function called when the offline events have been stored to the persistent storage
items that are stored in the persistent storage
Extended INotificationListener interface for SDK Stats that includes flush and unload operations.