Package 

Interface MediaFile

  • All Implemented Interfaces:

    
    public interface MediaFile
    
                        

    The MediaFile API represents metadata of an media file with ad content.

    • This metadata is retrieved from the VAST file.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract String getDelivery() The delivery type.
      abstract String getResourceURI() The URI of the VAST content.
      abstract String getType() The MIME type for the file container.
      abstract int getHeight() The native height of the video file, in pixels.
      abstract int getWidth() The native width of the video file, in pixels.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • 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.

      • 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.