Player Module
/
com.bitmovin.player.api.advertising
/
Ad
Ad
interface
Ad
Content copied to clipboard
Defines basic properties available for every ad type
Properties
Inheritors
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.
Inheritors
LinearAd
Link copied to clipboard
OverlayAd
Link copied to clipboard