<dd><code>java.io.Serializable</code>, <code>java.lang.Comparable<<ahref="Image.ResolutionLevel.html"title="enum in org.schabi.newpipe.extractor">Image.ResolutionLevel</a>></code></dd>
</dl>
<dl>
<dt>Enclosing class:</dt>
<dd><ahref="Image.html"title="class in org.schabi.newpipe.extractor">Image</a></dd>
<divclass="block">Get a <ahref="Image.ResolutionLevel.html"title="enum in org.schabi.newpipe.extractor"><code>Image.ResolutionLevel</code></a> based from the given height.</div>
</td>
</tr>
<trid="i1"class="rowColor">
<tdclass="colFirst"><code>static <ahref="Image.ResolutionLevel.html"title="enum in org.schabi.newpipe.extractor">Image.ResolutionLevel</a></code></td>
<divclass="block">Returns the enum constant of this type with the specified name.</div>
</td>
</tr>
<trid="i2"class="altColor">
<tdclass="colFirst"><code>static <ahref="Image.ResolutionLevel.html"title="enum in org.schabi.newpipe.extractor">Image.ResolutionLevel</a>[]</code></td>
<pre>public static final <ahref="Image.ResolutionLevel.html"title="enum in org.schabi.newpipe.extractor">Image.ResolutionLevel</a> HIGH</pre>
<divclass="block">The high resolution level.
<p>
This level applies to images with a height greater than or equal to 720px.
</p></div>
</li>
</ul>
<aid="MEDIUM">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>MEDIUM</h4>
<pre>public static final <ahref="Image.ResolutionLevel.html"title="enum in org.schabi.newpipe.extractor">Image.ResolutionLevel</a> MEDIUM</pre>
<divclass="block">The medium resolution level.
<p>
This level applies to images with a height between 175px inclusive and 720px exclusive.
</p></div>
</li>
</ul>
<aid="LOW">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>LOW</h4>
<pre>public static final <ahref="Image.ResolutionLevel.html"title="enum in org.schabi.newpipe.extractor">Image.ResolutionLevel</a> LOW</pre>
<divclass="block">The low resolution level.
<p>
This level applies to images with a height between 1px inclusive and 175px exclusive.
</p></div>
</li>
</ul>
<aid="UNKNOWN">
<!---->
</a>
<ulclass="blockListLast">
<liclass="blockList">
<h4>UNKNOWN</h4>
<pre>public static final <ahref="Image.ResolutionLevel.html"title="enum in org.schabi.newpipe.extractor">Image.ResolutionLevel</a> UNKNOWN</pre>
<divclass="block">The unknown resolution level.
<p>
This value is returned when the extractor doesn't know what resolution level an image
could have, for example if the extractor loops in an array of images with different
resolution levels without knowing the height.
</p></div>
</li>
</ul>
</li>
</ul>
</section>
<!-- ============ METHOD DETAIL ========== -->
<section>
<ulclass="blockList">
<liclass="blockList"><aid="method.detail">
<!---->
</a>
<h3>Method Detail</h3>
<aid="values()">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>values</h4>
<preclass="methodSignature">public static <ahref="Image.ResolutionLevel.html"title="enum in org.schabi.newpipe.extractor">Image.ResolutionLevel</a>[] values()</pre>
<divclass="block">Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
<pre>
for (Image.ResolutionLevel c : Image.ResolutionLevel.values())
System.out.println(c);
</pre></div>
<dl>
<dt><spanclass="returnLabel">Returns:</span></dt>
<dd>an array containing the constants of this enum type, in the order they are declared</dd>
</dl>
</li>
</ul>
<aid="valueOf(java.lang.String)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>valueOf</h4>
<preclass="methodSignature">public static <ahref="Image.ResolutionLevel.html"title="enum in org.schabi.newpipe.extractor">Image.ResolutionLevel</a> valueOf​(java.lang.String name)</pre>
<divclass="block">Returns the enum constant of this type with the specified name.
The string must match <i>exactly</i> an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
<dd><code>name</code> - the name of the enum constant to be returned.</dd>
<dt><spanclass="returnLabel">Returns:</span></dt>
<dd>the enum constant with the specified name</dd>
<dt><spanclass="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.IllegalArgumentException</code> - if this enum type has no constant with the specified name</dd>
<dd><code>java.lang.NullPointerException</code> - if the argument is null</dd>
</dl>
</li>
</ul>
<aid="fromHeight(int)">
<!---->
</a>
<ulclass="blockListLast">
<liclass="blockList">
<h4>fromHeight</h4>
<preclass="methodSignature">public static <ahref="Image.ResolutionLevel.html"title="enum in org.schabi.newpipe.extractor">Image.ResolutionLevel</a> fromHeight​(int heightPx)</pre>
<divclass="block">Get a <ahref="Image.ResolutionLevel.html"title="enum in org.schabi.newpipe.extractor"><code>Image.ResolutionLevel</code></a> based from the given height.</div>
<dd><code>heightPx</code> - the height from which returning the good <ahref="Image.ResolutionLevel.html"title="enum in org.schabi.newpipe.extractor"><code>Image.ResolutionLevel</code></a></dd>
<dt><spanclass="returnLabel">Returns:</span></dt>
<dd>the <ahref="Image.ResolutionLevel.html"title="enum in org.schabi.newpipe.extractor"><code>Image.ResolutionLevel</code></a> corresponding to the height provided. See the
<ahref="Image.ResolutionLevel.html"title="enum in org.schabi.newpipe.extractor"><code>Image.ResolutionLevel</code></a> values for details about what value is returned.</dd>