Class MediaFile


  • public class MediaFile
    extends java.lang.Object
    Represents a resource file used to display a linear creative; typically a video file.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  MediaFile.DeliveryMethod
      Indicates the delivery method of a given media file.
    • Constructor Summary

      Constructors 
      Constructor Description
      MediaFile()  
    • Constructor Detail

      • MediaFile

        public MediaFile()
    • Method Detail

      • getDeliveryMethod

        public MediaFile.DeliveryMethod getDeliveryMethod()
        The delivery method of this media file.
        Returns:
        The delivery method.
      • getWidth

        public int getWidth()
        This media file's width.
        Returns:
        The width.
      • getHeight

        public int getHeight()
        This media file's height.
        Returns:
        The height.
      • getBitRate

        public int getBitRate()
        This media file's bitrate.
        Returns:
        The bitrate.
      • getCodec

        public java.lang.String getCodec()
        The codec format of media file.
        Returns:
        The codec.
      • getMimeType

        public java.lang.String getMimeType()
        The MIME-type of this media file.
        Returns:
        The MIME-type.
      • getURI

        public java.net.URI getURI()
        The URI where this media file can be found.
        Returns:
        The URI.
      • getAPIFramework

        public java.lang.String getAPIFramework()
        The API framework used by this media file.
        Returns:
        The API framework used.