-
- All Implemented Interfaces:
public interface MediaFileThe MediaFile API represents metadata of an media file with ad content.
- This metadata is retrieved from the VAST file.
-
-
Method Summary
Modifier and Type Method Description abstract StringgetDelivery()The delivery type. abstract StringgetResourceURI()The URI of the VAST content. abstract StringgetType()The MIME type for the file container. abstract intgetHeight()The native height of the video file, in pixels. abstract intgetWidth()The native width of the video file, in pixels. -
-
Method Detail
-
getDelivery
@NonNull() abstract String getDelivery()
The delivery type.
- Currently we only support progressive.
- It should be either 'progressive' or 'streaming'.
Default: Empty string.
-
getResourceURI
@NonNull() abstract String getResourceURI()
The URI of the VAST content.
Default: Empty string.
-
getType
@NonNull() abstract String getType()
The MIME type for the file container.
Default: Empty string.
-
getHeight
abstract int getHeight()
The native height of the video file, in pixels.
-
getWidth
abstract int getWidth()
The native width of the video file, in pixels.
-
-
-
-