SSAIAnalytics

open class SSAIAnalytics

Registers the appropriate SSAI event listeners to send analytic events containing the ad insight data for each played slot and ad.

Constructors

Link copied to clipboard
constructor(eventEmitter: EventEmitter)

Functions

Link copied to clipboard
Finish ad insights timer tasks.
Link copied to clipboard
open fun getAdInsight(adInsightEvent: String, adPod: AdPod, ad: Ad<out Any>): AdInsight
Link copied to clipboard
open fun getAdPodInsight(adInsightEvent: String, adPod: AdPod): AdInsight
Link copied to clipboard
Reset ad insight parameter values after ad is complete or skipped.
Link copied to clipboard
open fun setAdView(adView: View)
Set current AdView
Link copied to clipboard
open fun setIsLive(isLive: Boolean)
Link copied to clipboard
open fun setTotalTimelineLength(totalTimelineLength: Long)
Set total timeline length to calculate ad pod type.
Link copied to clipboard
open fun startAdInsightTimerTasks(adPod: AdPod, ad: Ad<out Any>)
Starts ad insight timer tasks.