Player Module
/
com.bitmovin.player.api.advertising
/
LinearAd
Linear
Ad
interface
LinearAd
:
Ad
Content copied to clipboard
Defines a linear ad which requires the playback of the content to stop
Properties
Inherited properties
Properties
duration
Link copied to clipboard
abstract val
duration
:
Double
Content copied to clipboard
The duration of the ad.
skippableAfter
Link copied to clipboard
abstract val
skippableAfter
:
Double
?
Content copied to clipboard
Time in seconds, after which the ad is skippable.
Inherited properties
clickThroughUrl
Link copied to clipboard
abstract val
clickThroughUrl
:
String
?
Content copied to clipboard
The url the user should be redirected to when clicking the ad.
data
Link copied to clipboard
abstract val
data
:
AdData
?
Content copied to clipboard
Holds various additional
AdData
.
height
Link copied to clipboard
abstract val
height
:
Int
Content copied to clipboard
The height of the ad.
id
Link copied to clipboard
abstract val
id
:
String
?
Content copied to clipboard
Identifier for the ad.
isLinear
Link copied to clipboard
abstract val
isLinear
:
Boolean
Content copied to clipboard
Determines whether an ad is linear, i.e.
mediaFileUrl
Link copied to clipboard
abstract val
mediaFileUrl
:
String
?
Content copied to clipboard
The corresponding media file url for the ad.
width
Link copied to clipboard
abstract val
width
:
Int
Content copied to clipboard
The width of the ad.