Class VastMediaFile
-
- All Implemented Interfaces:
public final class VastMediaFileData model representing a VAST media file containing video ad asset information.
This class encapsulates the technical specifications and delivery information for a video ad media file. It includes dimensional information, asset URL, delivery method, media type, and bitrate specifications required for media file selection and video playback.
Multiple media files may be provided in a VAST response to support different device capabilities, network conditions, and player requirements.
-
-
Method Summary
Modifier and Type Method Description final IntegergetWidth()final IntegergetHeight()final StringgetMediaUrl()final StringgetDelivery()final StringgetType()final IntegergetBitRate()-
-
Constructor Detail
-
VastMediaFile
VastMediaFile(Integer width, Integer height, String mediaUrl, String delivery, String type, Integer bitRate)
- Parameters:
width- Width of the video in pixelsheight- Height of the video in pixelsmediaUrl- URL of the video media file assetdelivery- Delivery method (e.g.type- MIME type of the media file (e.g.bitRate- Bitrate of the video file in kbps
-
-
Method Detail
-
getMediaUrl
final String getMediaUrl()
-
getDelivery
final String getDelivery()
-
getBitRate
final Integer getBitRate()
-
-
-
-