SVSAdBreakEvent

open class SVSAdBreakEvent

Class representing events happening in the lifecycle of an SVSAdManager

Constructors

Link copied to clipboard
constructor(@NonNull adBreakType: SVSAdBreakType, eventType: Int, @NonNull message: String, numberOfAdsPlayed: Int, adPlaybackDuration: Long)
Constructs a new SVSAdBreakEvent object of the specified type and duration.

Properties

Link copied to clipboard
VAST ad break type (preroll/midroll/postroll).
Link copied to clipboard
Cumulated duration of ads played in the ad pod Relevant for EVENT_TYPE_AD_BREAK_COMPLETED type SVSAdBreakEvent
Link copied to clipboard
Constant indicating that the VAST ad break completed.
Link copied to clipboard
Constant indicating that there is no ad break to play.
Link copied to clipboard
Constant indicating that the ad break is ready to start.
Link copied to clipboard
Constant indicating that the VAST ad break started.
Link copied to clipboard
VAST event type of the ad break.
Link copied to clipboard
Message describing this SVSAdBreakEvent
Link copied to clipboard
For EVENT_TYPE_AD_BREAK_COMPLETED, this is the count of played ads in the adpod