PresentationSink class

Turns a rendered experience's lifecycle events into presentation state.

This was CepPluginSink, which called plugin.notifyEvent(...) — core pushing at whichever plugin happened to be registered, with no idea which campaign the plugin thought it was hearing about. Under v2 there is no push: the owning plugin is already listening on its own handle, so all this does is hand the event to the coordinator, which routes it to that one handle and to no other.

The indirection stays because it is the seam the emitter is built around — EngageEventEmitter holds a CEP sink and a Digia analytics sink and knows nothing about either's insides.

Constructors

PresentationSink(PresentationCoordinator _coordinator)
Creates the sink over the SDK's single coordinator.

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

deliver(DigiaExperienceEvent event, CEPTriggerPayload payload) → void
Applies event to the presentation that owns payload, if it is still live. A payload with no live presentation is a clean no-op.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited