Interface for an object that can send or store analytics events.
public interface IEventProcessor : IDisposable
Application code normally does not need to interact with IEventProcessor or its related parameter types. They are provided to allow a custom implementation or test fixture to be substituted for the SDK's normal analytics event logic.
All of the
Record methods must return as soon as possible without waiting for events to be
delivered; event delivery is done asynchronously by a background task.
Specifies that any buffered events should be sent as soon as possible, rather than waiting for the next flush interval.
This method triggers an asynchronous task, so events still may not be sent until a later until a later time. However, calling System.IDisposable.Dispose will synchronously deliver any events that were not yet delivered prior to shutting down.
Records an alias event.
void RecordAliasEvent(EventProcessorTypes.AliasEvent e)
Records a custom event.
void RecordCustomEvent(EventProcessorTypes.CustomEvent e)
parameters for a custom event
Records the action of evaluating a feature flag.
void RecordEvaluationEvent(EventProcessorTypes.EvaluationEvent e)
parameters for an evaluation event
Depending on the feature flag properties and event properties, this may be transmitted to the events service as an individual event, or may only be added into summary data.
Records a set of user properties.
void RecordIdentifyEvent(EventProcessorTypes.IdentifyEvent e)
parameters for an identify event