Android Open Source - android-youtubeExtractor Meta






From Project

Back to project page android-youtubeExtractor.

License

The source code is released under:

MIT License

If you think the Android project android-youtubeExtractor listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package at.huber.youtubeExtractor;
/*  www  .  java  2s .  c o m*/
public class Meta {

  int itag;
  String ext;
  String info;
  int height;

    Meta(int itag, String ext, String info, int height) {
      this.itag=itag;
        this.info = info;
        this.ext = ext;
        this.height=height;
    }
    
    /**
   * An identifier used by youtube for different formats.
   */
    public int getItag(){
      return itag;
    }
    
    /**
   * The file extension and conainer format like "mp4"
   */
  public String getExt() {
    return ext;
  }
  /**
   * General info about the meta data like "dash 1280x720" or "dash audio aac"
   */
  public String getInfo() {
    return info;
  }

  /**
   * The height of the video stream or -1 for audio files.
   */
  public int getHeight() {
    return height;
  }
  
}




Java Source Code List

at.huber.sampleDownload.SampleDownloadActivity.java
at.huber.youtubeExtractor.Meta.java
at.huber.youtubeExtractor.YouTubeUriExtractor.java
at.huber.youtubeExtractor.YtFile.java