java.lang.Object | |
↳ | com.smartadserver.android.instreamsdk.model.adplayerconfig.SVSAdPlayerConfigurationDisplayOptions |
This class holds the configuration options related to the appearance of the ad player
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
android.os.Parcelable
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
SVSAdPlayerConfigurationDisplayOptions()
Default constructor with default values
| |||||||||||
SVSAdPlayerConfigurationDisplayOptions(String json)
Constructor from a JSON
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
boolean |
isEnableCountdownSkip()
Returns whether a countdown until the ad can be skipped should be displayed
| ||||||||||
boolean |
isEnableCountdownVideo()
Returns whether a countdown until the end of the ad break should be displayed
| ||||||||||
boolean |
isEnableFullscreen()
Returns whether the fullscreen button should be displayed for the ad player
If is TV, we desable the possibility to update the fullscreen | ||||||||||
boolean |
isRestrictControlsToAdPlayerBounds()
Returns whether the ad player controls must fit in the video frame or can expand in the parent container
| ||||||||||
void |
setEnableCountdownSkip(boolean enableCountdownSkip)
Sets whether a countdown until the ad can be skipped should be displayed
| ||||||||||
void |
setEnableCountdownVideo(boolean enableCountdownVideo)
Sets whether a countdown until the end of the ad break should be displayed
| ||||||||||
void |
setEnableFullscreen(boolean enableFullscreen)
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
| ||||||||||
void |
setRestrictControlsToAdPlayerBounds(boolean restrictControlsToAdPlayerBounds)
Sets whether the ad player controls must fit in the video frame or can expand in the parent container
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
android.os.Parcelable
|
Default constructor with default values
Constructor from a JSON
JSONException |
---|
Returns whether a countdown until the ad can be skipped should be displayed
Returns whether a countdown until the end of the ad break should be displayed
Returns whether the fullscreen button should be displayed for the ad player
If is TV, we desable the possibility to update the fullscreen
Returns whether the ad player controls must fit in the video frame or can expand in the parent container
Sets whether a countdown until the ad can be skipped should be displayed
Sets whether a countdown until the end of the ad break should be displayed
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
Sets whether the ad player controls must fit in the video frame or can expand in the parent container