Interface MediaFile

  • All Implemented Interfaces:
    android.os.Parcelable

    
    public interface MediaFile
     implements Parcelable
                        

    Represents a parsed <MediaFile> element.

    • 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 Delivery getDelivery() the protocol of the video file.
      abstract String getType() the MIME type for the file container.
      abstract Integer getWidth() the native width of the video file, in pixels.
      abstract Integer getHeight() the native height of the video file, in pixels.
      abstract String getCodec() the codec of the video file.
      abstract String getId() an identifier for the media file.
      abstract Integer getBitrate() the value specifies the average bitrate for the media file.
      abstract Integer getMinBitrate() the minimum bitrate for streaming video or audio file.
      abstract Integer getMaxBitrate() the maximum bitrate for streaming video or audio file.
      abstract Boolean getScalable() the value that indicates whether the media file is meant to scale to larger dimensions.
      abstract Boolean getMaintainAspectRatio() the value that indicates whether aspect ratio for media file dimensions should be maintained when scaled to new dimensions.
      abstract String getApiFramework() identifies the API needed to execute an interactive media file.
      abstract Integer getFileSize() the size of the media file.
      abstract MediaType getMediaType() the type of media file.
      abstract String getUri() the uri to a media file.
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • getType

         abstract String getType()

        the MIME type for the file container.

      • getWidth

         abstract Integer getWidth()

        the native width of the video file, in pixels. (0 for audio ads).

      • getHeight

         abstract Integer getHeight()

        the native height of the video file, in pixels. (0 for audio ads).

      • getId

         abstract String getId()

        an identifier for the media file.

      • getBitrate

         abstract Integer getBitrate()

        the value specifies the average bitrate for the media file.

      • getMinBitrate

         abstract Integer getMinBitrate()

        the minimum bitrate for streaming video or audio file.

      • getMaxBitrate

         abstract Integer getMaxBitrate()

        the maximum bitrate for streaming video or audio file.

      • getScalable

         abstract Boolean getScalable()

        the value that indicates whether the media file is meant to scale to larger dimensions.

      • getMaintainAspectRatio

         abstract Boolean getMaintainAspectRatio()

        the value that indicates whether aspect ratio for media file dimensions should be maintained when scaled to new dimensions.

      • getApiFramework

         abstract String getApiFramework()

        identifies the API needed to execute an interactive media file.

        Note: Deprecated in 4.1 in preparation for VPAID being phased out.