...
You can subscribe to these events with the same RefineryAdFactory.shared.createVideoOutstreamBanner(...)
method by passing an instance of BannerEventListener
for the lifecycleCallbacks
parameter. Details about this object can be found in the Reference.
First, extend from the BannerEventListener
. Next, provide the instance of BannerEventLogger
to RefineryAdFactory.shared.createVideoOutstreamBanner(...,:lifecycleCallbacks)
.
...