Package com.theoplayer.android.api.ads
Interface LinearAd
-
-
Method Summary
Modifier and Type Method Description abstract int
getDuration()
The duration of the LinearAd, as provided by the VAST file, in seconds. abstract List<MediaFile>
getMediaFiles()
The list of media files which contain metadata about ad video files. -
-
Method Detail
-
getDuration
abstract int getDuration()
The duration of the LinearAd, as provided by the VAST file, in seconds.
Default: 0
- Returns:
The duration of the LinearAd, in seconds.
-
getMediaFiles
@NonNull() abstract List<MediaFile> getMediaFiles()
The list of media files which contain metadata about ad video files.
- Returns:
List of media files. (NonNull)
-
-
-
-