SVSAdPlayerConfigurationDisplayOptions

This class holds the configuration options related to the appearance of the ad player

Constructors

Link copied to clipboard
constructor()
Default constructor with default values
constructor(@NonNull json: String)
Constructor from a JSON

Properties

Link copied to clipboard
The background color of the ad player.

Functions

Link copied to clipboard
Returns whether a countdown until the ad can be skipped should be displayed
Link copied to clipboard
Returns whether a countdown until the end of the ad break should be displayed
Link copied to clipboard
Returns whether the fullscreen button should be displayed for the ad player If is TV, we desable the possibility to update the fullscreen
Link copied to clipboard
Returns whether the ad player controls must fit in the video frame or can expand in the parent container
Link copied to clipboard
open fun setEnableCountdownSkip(enableCountdownSkip: Boolean)
Sets whether a countdown until the ad can be skipped should be displayed
Link copied to clipboard
open fun setEnableCountdownVideo(enableCountdownVideo: Boolean)
Sets whether a countdown until the end of the ad break should be displayed
Link copied to clipboard
open fun setEnableFullscreen(enableFullscreen: Boolean)
Sets whether the fullscreen button should be displayed for the ad player If the content player is forced in a fullscreen state, this should be set to false to prevent undesired interactions
Link copied to clipboard
open fun setRestrictControlsToAdPlayerBounds(restrictControlsToAdPlayerBounds: Boolean)
Sets whether the ad player controls must fit in the video frame or can expand in the parent container