mirror of
https://github.com/samsonjs/media.git
synced 2026-04-07 11:35:46 +00:00
692 lines
46 KiB
HTML
692 lines
46 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
|
<!-- NewPage -->
|
|
<html lang="en">
|
|
<head>
|
|
<!-- Generated by javadoc (1.8.0_101) on Wed Dec 14 17:18:30 GMT 2016 -->
|
|
<title>InitializationChunk (ExoPlayer library)</title>
|
|
<meta name="date" content="2016-12-14">
|
|
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
|
<script type="text/javascript" src="../../../../../script.js"></script>
|
|
</head>
|
|
<body>
|
|
<script type="text/javascript"><!--
|
|
try {
|
|
if (location.href.indexOf('is-external=true') == -1) {
|
|
parent.document.title="InitializationChunk (ExoPlayer library)";
|
|
}
|
|
}
|
|
catch(err) {
|
|
}
|
|
//-->
|
|
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10};
|
|
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
|
|
var altColor = "altColor";
|
|
var rowColor = "rowColor";
|
|
var tableTab = "tableTab";
|
|
var activeTableTab = "activeTableTab";
|
|
</script>
|
|
<noscript>
|
|
<div>JavaScript is disabled on your browser.</div>
|
|
</noscript>
|
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
|
<div class="topNav"><a name="navbar.top">
|
|
<!-- -->
|
|
</a>
|
|
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
|
<a name="navbar.top.firstrow">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="navList" title="Navigation">
|
|
<li><a href="../../../../../overview-summary.html">Overview</a></li>
|
|
<li><a href="package-summary.html">Package</a></li>
|
|
<li class="navBarCell1Rev">Class</li>
|
|
<li><a href="package-tree.html">Tree</a></li>
|
|
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
|
<li><a href="../../../../../index-all.html">Index</a></li>
|
|
<li><a href="../../../../../help-doc.html">Help</a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="subNav">
|
|
<ul class="navList">
|
|
<li><a href="../../../../../com/google/android/exoplayer/chunk/FormatWrapper.html" title="interface in com.google.android.exoplayer.chunk"><span class="typeNameLink">Prev Class</span></a></li>
|
|
<li><a href="../../../../../com/google/android/exoplayer/chunk/MediaChunk.html" title="class in com.google.android.exoplayer.chunk"><span class="typeNameLink">Next Class</span></a></li>
|
|
</ul>
|
|
<ul class="navList">
|
|
<li><a href="../../../../../index.html?com/google/android/exoplayer/chunk/InitializationChunk.html" target="_top">Frames</a></li>
|
|
<li><a href="InitializationChunk.html" target="_top">No Frames</a></li>
|
|
</ul>
|
|
<ul class="navList" id="allclasses_navbar_top">
|
|
<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
|
|
</ul>
|
|
<div>
|
|
<script type="text/javascript"><!--
|
|
allClassesLink = document.getElementById("allclasses_navbar_top");
|
|
if(window==top) {
|
|
allClassesLink.style.display = "block";
|
|
}
|
|
else {
|
|
allClassesLink.style.display = "none";
|
|
}
|
|
//-->
|
|
</script>
|
|
</div>
|
|
<div>
|
|
<ul class="subNavList">
|
|
<li>Summary: </li>
|
|
<li>Nested | </li>
|
|
<li><a href="#fields.inherited.from.class.com.google.android.exoplayer.chunk.Chunk">Field</a> | </li>
|
|
<li><a href="#constructor.summary">Constr</a> | </li>
|
|
<li><a href="#method.summary">Method</a></li>
|
|
</ul>
|
|
<ul class="subNavList">
|
|
<li>Detail: </li>
|
|
<li>Field | </li>
|
|
<li><a href="#constructor.detail">Constr</a> | </li>
|
|
<li><a href="#method.detail">Method</a></li>
|
|
</ul>
|
|
</div>
|
|
<a name="skip.navbar.top">
|
|
<!-- -->
|
|
</a></div>
|
|
<!-- ========= END OF TOP NAVBAR ========= -->
|
|
<!-- ======== START OF CLASS DATA ======== -->
|
|
<div class="header">
|
|
<div class="subTitle">com.google.android.exoplayer.chunk</div>
|
|
<h2 title="Class InitializationChunk" class="title">Class InitializationChunk</h2>
|
|
</div>
|
|
<div class="contentContainer">
|
|
<ul class="inheritance">
|
|
<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
|
|
<li>
|
|
<ul class="inheritance">
|
|
<li><a href="../../../../../com/google/android/exoplayer/chunk/Chunk.html" title="class in com.google.android.exoplayer.chunk">com.google.android.exoplayer.chunk.Chunk</a></li>
|
|
<li>
|
|
<ul class="inheritance">
|
|
<li>com.google.android.exoplayer.chunk.InitializationChunk</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<div class="description">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<dl>
|
|
<dt>All Implemented Interfaces:</dt>
|
|
<dd><a href="../../../../../com/google/android/exoplayer/chunk/ChunkExtractorWrapper.SingleTrackOutput.html" title="interface in com.google.android.exoplayer.chunk">ChunkExtractorWrapper.SingleTrackOutput</a>, <a href="../../../../../com/google/android/exoplayer/extractor/TrackOutput.html" title="interface in com.google.android.exoplayer.extractor">TrackOutput</a>, <a href="../../../../../com/google/android/exoplayer/upstream/Loader.Loadable.html" title="interface in com.google.android.exoplayer.upstream">Loader.Loadable</a></dd>
|
|
</dl>
|
|
<hr>
|
|
<br>
|
|
<pre>public class <span class="typeNameLabel">InitializationChunk</span>
|
|
extends <a href="../../../../../com/google/android/exoplayer/chunk/Chunk.html" title="class in com.google.android.exoplayer.chunk">Chunk</a>
|
|
implements <a href="../../../../../com/google/android/exoplayer/chunk/ChunkExtractorWrapper.SingleTrackOutput.html" title="interface in com.google.android.exoplayer.chunk">ChunkExtractorWrapper.SingleTrackOutput</a></pre>
|
|
<div class="block">A <a href="../../../../../com/google/android/exoplayer/chunk/Chunk.html" title="class in com.google.android.exoplayer.chunk"><code>Chunk</code></a> that uses an <a href="../../../../../com/google/android/exoplayer/extractor/Extractor.html" title="interface in com.google.android.exoplayer.extractor"><code>Extractor</code></a> to parse initialization data for single track.</div>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div class="summary">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<!-- =========== FIELD SUMMARY =========== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="field.summary">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Field Summary</h3>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="fields.inherited.from.class.com.google.android.exoplayer.chunk.Chunk">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Fields inherited from class com.google.android.exoplayer.chunk.<a href="../../../../../com/google/android/exoplayer/chunk/Chunk.html" title="class in com.google.android.exoplayer.chunk">Chunk</a></h3>
|
|
<code><a href="../../../../../com/google/android/exoplayer/chunk/Chunk.html#dataSource">dataSource</a>, <a href="../../../../../com/google/android/exoplayer/chunk/Chunk.html#dataSpec">dataSpec</a>, <a href="../../../../../com/google/android/exoplayer/chunk/Chunk.html#format">format</a>, <a href="../../../../../com/google/android/exoplayer/chunk/Chunk.html#NO_PARENT_ID">NO_PARENT_ID</a>, <a href="../../../../../com/google/android/exoplayer/chunk/Chunk.html#parentId">parentId</a>, <a href="../../../../../com/google/android/exoplayer/chunk/Chunk.html#trigger">trigger</a>, <a href="../../../../../com/google/android/exoplayer/chunk/Chunk.html#TRIGGER_ADAPTIVE">TRIGGER_ADAPTIVE</a>, <a href="../../../../../com/google/android/exoplayer/chunk/Chunk.html#TRIGGER_CUSTOM_BASE">TRIGGER_CUSTOM_BASE</a>, <a href="../../../../../com/google/android/exoplayer/chunk/Chunk.html#TRIGGER_INITIAL">TRIGGER_INITIAL</a>, <a href="../../../../../com/google/android/exoplayer/chunk/Chunk.html#TRIGGER_MANUAL">TRIGGER_MANUAL</a>, <a href="../../../../../com/google/android/exoplayer/chunk/Chunk.html#TRIGGER_TRICK_PLAY">TRIGGER_TRICK_PLAY</a>, <a href="../../../../../com/google/android/exoplayer/chunk/Chunk.html#TRIGGER_UNSPECIFIED">TRIGGER_UNSPECIFIED</a>, <a href="../../../../../com/google/android/exoplayer/chunk/Chunk.html#type">type</a>, <a href="../../../../../com/google/android/exoplayer/chunk/Chunk.html#TYPE_CUSTOM_BASE">TYPE_CUSTOM_BASE</a>, <a href="../../../../../com/google/android/exoplayer/chunk/Chunk.html#TYPE_DRM">TYPE_DRM</a>, <a href="../../../../../com/google/android/exoplayer/chunk/Chunk.html#TYPE_MANIFEST">TYPE_MANIFEST</a>, <a href="../../../../../com/google/android/exoplayer/chunk/Chunk.html#TYPE_MEDIA">TYPE_MEDIA</a>, <a href="../../../../../com/google/android/exoplayer/chunk/Chunk.html#TYPE_MEDIA_INITIALIZATION">TYPE_MEDIA_INITIALIZATION</a>, <a href="../../../../../com/google/android/exoplayer/chunk/Chunk.html#TYPE_UNSPECIFIED">TYPE_UNSPECIFIED</a></code></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="constructor.summary">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Constructor Summary</h3>
|
|
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
|
|
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
|
|
<tr>
|
|
<th class="colOne" scope="col">Constructor and Description</th>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../com/google/android/exoplayer/chunk/InitializationChunk.html#InitializationChunk-com.google.android.exoplayer.upstream.DataSource-com.google.android.exoplayer.upstream.DataSpec-int-com.google.android.exoplayer.chunk.Format-com.google.android.exoplayer.chunk.ChunkExtractorWrapper-">InitializationChunk</a></span>(<a href="../../../../../com/google/android/exoplayer/upstream/DataSource.html" title="interface in com.google.android.exoplayer.upstream">DataSource</a> dataSource,
|
|
<a href="../../../../../com/google/android/exoplayer/upstream/DataSpec.html" title="class in com.google.android.exoplayer.upstream">DataSpec</a> dataSpec,
|
|
int trigger,
|
|
<a href="../../../../../com/google/android/exoplayer/chunk/Format.html" title="class in com.google.android.exoplayer.chunk">Format</a> format,
|
|
<a href="../../../../../com/google/android/exoplayer/chunk/ChunkExtractorWrapper.html" title="class in com.google.android.exoplayer.chunk">ChunkExtractorWrapper</a> extractorWrapper)</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../com/google/android/exoplayer/chunk/InitializationChunk.html#InitializationChunk-com.google.android.exoplayer.upstream.DataSource-com.google.android.exoplayer.upstream.DataSpec-int-com.google.android.exoplayer.chunk.Format-com.google.android.exoplayer.chunk.ChunkExtractorWrapper-int-">InitializationChunk</a></span>(<a href="../../../../../com/google/android/exoplayer/upstream/DataSource.html" title="interface in com.google.android.exoplayer.upstream">DataSource</a> dataSource,
|
|
<a href="../../../../../com/google/android/exoplayer/upstream/DataSpec.html" title="class in com.google.android.exoplayer.upstream">DataSpec</a> dataSpec,
|
|
int trigger,
|
|
<a href="../../../../../com/google/android/exoplayer/chunk/Format.html" title="class in com.google.android.exoplayer.chunk">Format</a> format,
|
|
<a href="../../../../../com/google/android/exoplayer/chunk/ChunkExtractorWrapper.html" title="class in com.google.android.exoplayer.chunk">ChunkExtractorWrapper</a> extractorWrapper,
|
|
int parentId)</code>
|
|
<div class="block">Constructor for a chunk of media samples.</div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</li>
|
|
</ul>
|
|
<!-- ========== METHOD SUMMARY =========== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="method.summary">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Method Summary</h3>
|
|
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
|
|
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
|
|
<tr>
|
|
<th class="colFirst" scope="col">Modifier and Type</th>
|
|
<th class="colLast" scope="col">Method and Description</th>
|
|
</tr>
|
|
<tr id="i0" class="altColor">
|
|
<td class="colFirst"><code>long</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/google/android/exoplayer/chunk/InitializationChunk.html#bytesLoaded--">bytesLoaded</a></span>()</code>
|
|
<div class="block">Gets the number of bytes that have been loaded.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i1" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/google/android/exoplayer/chunk/InitializationChunk.html#cancelLoad--">cancelLoad</a></span>()</code>
|
|
<div class="block">Cancels the load.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i2" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/google/android/exoplayer/chunk/InitializationChunk.html#drmInitData-com.google.android.exoplayer.drm.DrmInitData-">drmInitData</a></span>(<a href="../../../../../com/google/android/exoplayer/drm/DrmInitData.html" title="interface in com.google.android.exoplayer.drm">DrmInitData</a> drmInitData)</code> </td>
|
|
</tr>
|
|
<tr id="i3" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/google/android/exoplayer/chunk/InitializationChunk.html#format-com.google.android.exoplayer.MediaFormat-">format</a></span>(<a href="../../../../../com/google/android/exoplayer/MediaFormat.html" title="class in com.google.android.exoplayer">MediaFormat</a> mediaFormat)</code>
|
|
<div class="block">Invoked when the <a href="../../../../../com/google/android/exoplayer/MediaFormat.html" title="class in com.google.android.exoplayer"><code>MediaFormat</code></a> of the track has been extracted from the stream.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i4" class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../../com/google/android/exoplayer/drm/DrmInitData.html" title="interface in com.google.android.exoplayer.drm">DrmInitData</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/google/android/exoplayer/chunk/InitializationChunk.html#getDrmInitData--">getDrmInitData</a></span>()</code>
|
|
<div class="block">Returns a <a href="../../../../../com/google/android/exoplayer/drm/DrmInitData.html" title="interface in com.google.android.exoplayer.drm"><code>DrmInitData</code></a> parsed from the chunk, or null.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i5" class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../../com/google/android/exoplayer/MediaFormat.html" title="class in com.google.android.exoplayer">MediaFormat</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/google/android/exoplayer/chunk/InitializationChunk.html#getFormat--">getFormat</a></span>()</code>
|
|
<div class="block">Returns a <a href="../../../../../com/google/android/exoplayer/MediaFormat.html" title="class in com.google.android.exoplayer"><code>MediaFormat</code></a> parsed from the chunk, or null.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i6" class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../../com/google/android/exoplayer/extractor/SeekMap.html" title="interface in com.google.android.exoplayer.extractor">SeekMap</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/google/android/exoplayer/chunk/InitializationChunk.html#getSeekMap--">getSeekMap</a></span>()</code>
|
|
<div class="block">Returns a <a href="../../../../../com/google/android/exoplayer/extractor/SeekMap.html" title="interface in com.google.android.exoplayer.extractor"><code>SeekMap</code></a> parsed from the chunk, or null.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i7" class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/google/android/exoplayer/chunk/InitializationChunk.html#hasDrmInitData--">hasDrmInitData</a></span>()</code>
|
|
<div class="block">True if a <a href="../../../../../com/google/android/exoplayer/drm/DrmInitData.html" title="interface in com.google.android.exoplayer.drm"><code>DrmInitData</code></a> was parsed from the chunk.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i8" class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/google/android/exoplayer/chunk/InitializationChunk.html#hasFormat--">hasFormat</a></span>()</code>
|
|
<div class="block">True if a <a href="../../../../../com/google/android/exoplayer/MediaFormat.html" title="class in com.google.android.exoplayer"><code>MediaFormat</code></a> was parsed from the chunk.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i9" class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/google/android/exoplayer/chunk/InitializationChunk.html#hasSeekMap--">hasSeekMap</a></span>()</code>
|
|
<div class="block">True if a <a href="../../../../../com/google/android/exoplayer/extractor/SeekMap.html" title="interface in com.google.android.exoplayer.extractor"><code>SeekMap</code></a> was parsed from the chunk.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i10" class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/google/android/exoplayer/chunk/InitializationChunk.html#isLoadCanceled--">isLoadCanceled</a></span>()</code>
|
|
<div class="block">Whether the load has been canceled.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i11" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/google/android/exoplayer/chunk/InitializationChunk.html#load--">load</a></span>()</code>
|
|
<div class="block">Performs the load, returning on completion or cancelation.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i12" class="altColor">
|
|
<td class="colFirst"><code>int</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/google/android/exoplayer/chunk/InitializationChunk.html#sampleData-com.google.android.exoplayer.extractor.ExtractorInput-int-boolean-">sampleData</a></span>(<a href="../../../../../com/google/android/exoplayer/extractor/ExtractorInput.html" title="interface in com.google.android.exoplayer.extractor">ExtractorInput</a> input,
|
|
int length,
|
|
boolean allowEndOfInput)</code>
|
|
<div class="block">Invoked to write sample data to the output.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i13" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/google/android/exoplayer/chunk/InitializationChunk.html#sampleData-com.google.android.exoplayer.util.ParsableByteArray-int-">sampleData</a></span>(<a href="../../../../../com/google/android/exoplayer/util/ParsableByteArray.html" title="class in com.google.android.exoplayer.util">ParsableByteArray</a> data,
|
|
int length)</code>
|
|
<div class="block">Invoked to write sample data to the output.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i14" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/google/android/exoplayer/chunk/InitializationChunk.html#sampleMetadata-long-int-int-int-byte:A-">sampleMetadata</a></span>(long timeUs,
|
|
int flags,
|
|
int size,
|
|
int offset,
|
|
byte[] encryptionKey)</code>
|
|
<div class="block">Invoked when metadata associated with a sample has been extracted from the stream.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i15" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/google/android/exoplayer/chunk/InitializationChunk.html#seekMap-com.google.android.exoplayer.extractor.SeekMap-">seekMap</a></span>(<a href="../../../../../com/google/android/exoplayer/extractor/SeekMap.html" title="interface in com.google.android.exoplayer.extractor">SeekMap</a> seekMap)</code> </td>
|
|
</tr>
|
|
</table>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
|
|
<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div class="details">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="constructor.detail">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Constructor Detail</h3>
|
|
<a name="InitializationChunk-com.google.android.exoplayer.upstream.DataSource-com.google.android.exoplayer.upstream.DataSpec-int-com.google.android.exoplayer.chunk.Format-com.google.android.exoplayer.chunk.ChunkExtractorWrapper-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>InitializationChunk</h4>
|
|
<pre>public InitializationChunk(<a href="../../../../../com/google/android/exoplayer/upstream/DataSource.html" title="interface in com.google.android.exoplayer.upstream">DataSource</a> dataSource,
|
|
<a href="../../../../../com/google/android/exoplayer/upstream/DataSpec.html" title="class in com.google.android.exoplayer.upstream">DataSpec</a> dataSpec,
|
|
int trigger,
|
|
<a href="../../../../../com/google/android/exoplayer/chunk/Format.html" title="class in com.google.android.exoplayer.chunk">Format</a> format,
|
|
<a href="../../../../../com/google/android/exoplayer/chunk/ChunkExtractorWrapper.html" title="class in com.google.android.exoplayer.chunk">ChunkExtractorWrapper</a> extractorWrapper)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="InitializationChunk-com.google.android.exoplayer.upstream.DataSource-com.google.android.exoplayer.upstream.DataSpec-int-com.google.android.exoplayer.chunk.Format-com.google.android.exoplayer.chunk.ChunkExtractorWrapper-int-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockListLast">
|
|
<li class="blockList">
|
|
<h4>InitializationChunk</h4>
|
|
<pre>public InitializationChunk(<a href="../../../../../com/google/android/exoplayer/upstream/DataSource.html" title="interface in com.google.android.exoplayer.upstream">DataSource</a> dataSource,
|
|
<a href="../../../../../com/google/android/exoplayer/upstream/DataSpec.html" title="class in com.google.android.exoplayer.upstream">DataSpec</a> dataSpec,
|
|
int trigger,
|
|
<a href="../../../../../com/google/android/exoplayer/chunk/Format.html" title="class in com.google.android.exoplayer.chunk">Format</a> format,
|
|
<a href="../../../../../com/google/android/exoplayer/chunk/ChunkExtractorWrapper.html" title="class in com.google.android.exoplayer.chunk">ChunkExtractorWrapper</a> extractorWrapper,
|
|
int parentId)</pre>
|
|
<div class="block">Constructor for a chunk of media samples.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>dataSource</code> - A <a href="../../../../../com/google/android/exoplayer/upstream/DataSource.html" title="interface in com.google.android.exoplayer.upstream"><code>DataSource</code></a> for loading the initialization data.</dd>
|
|
<dd><code>dataSpec</code> - Defines the initialization data to be loaded.</dd>
|
|
<dd><code>trigger</code> - The reason for this chunk being selected.</dd>
|
|
<dd><code>format</code> - The format of the stream to which this chunk belongs.</dd>
|
|
<dd><code>extractorWrapper</code> - A wrapped extractor to use for parsing the initialization data.</dd>
|
|
<dd><code>parentId</code> - Identifier for a parent from which this chunk originates.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<!-- ============ METHOD DETAIL ========== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="method.detail">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Method Detail</h3>
|
|
<a name="bytesLoaded--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>bytesLoaded</h4>
|
|
<pre>public long bytesLoaded()</pre>
|
|
<div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../../com/google/android/exoplayer/chunk/Chunk.html#bytesLoaded--">Chunk</a></code></span></div>
|
|
<div class="block">Gets the number of bytes that have been loaded.</div>
|
|
<dl>
|
|
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
|
<dd><code><a href="../../../../../com/google/android/exoplayer/chunk/Chunk.html#bytesLoaded--">bytesLoaded</a></code> in class <code><a href="../../../../../com/google/android/exoplayer/chunk/Chunk.html" title="class in com.google.android.exoplayer.chunk">Chunk</a></code></dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>The number of bytes that have been loaded.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="hasFormat--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>hasFormat</h4>
|
|
<pre>public boolean hasFormat()</pre>
|
|
<div class="block">True if a <a href="../../../../../com/google/android/exoplayer/MediaFormat.html" title="class in com.google.android.exoplayer"><code>MediaFormat</code></a> was parsed from the chunk. False otherwise.
|
|
<p>
|
|
Should be called after loading has completed.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="getFormat--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getFormat</h4>
|
|
<pre>public <a href="../../../../../com/google/android/exoplayer/MediaFormat.html" title="class in com.google.android.exoplayer">MediaFormat</a> getFormat()</pre>
|
|
<div class="block">Returns a <a href="../../../../../com/google/android/exoplayer/MediaFormat.html" title="class in com.google.android.exoplayer"><code>MediaFormat</code></a> parsed from the chunk, or null.
|
|
<p>
|
|
Should be called after loading has completed.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="hasDrmInitData--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>hasDrmInitData</h4>
|
|
<pre>public boolean hasDrmInitData()</pre>
|
|
<div class="block">True if a <a href="../../../../../com/google/android/exoplayer/drm/DrmInitData.html" title="interface in com.google.android.exoplayer.drm"><code>DrmInitData</code></a> was parsed from the chunk. False otherwise.
|
|
<p>
|
|
Should be called after loading has completed.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="getDrmInitData--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getDrmInitData</h4>
|
|
<pre>public <a href="../../../../../com/google/android/exoplayer/drm/DrmInitData.html" title="interface in com.google.android.exoplayer.drm">DrmInitData</a> getDrmInitData()</pre>
|
|
<div class="block">Returns a <a href="../../../../../com/google/android/exoplayer/drm/DrmInitData.html" title="interface in com.google.android.exoplayer.drm"><code>DrmInitData</code></a> parsed from the chunk, or null.
|
|
<p>
|
|
Should be called after loading has completed.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="hasSeekMap--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>hasSeekMap</h4>
|
|
<pre>public boolean hasSeekMap()</pre>
|
|
<div class="block">True if a <a href="../../../../../com/google/android/exoplayer/extractor/SeekMap.html" title="interface in com.google.android.exoplayer.extractor"><code>SeekMap</code></a> was parsed from the chunk. False otherwise.
|
|
<p>
|
|
Should be called after loading has completed.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="getSeekMap--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getSeekMap</h4>
|
|
<pre>public <a href="../../../../../com/google/android/exoplayer/extractor/SeekMap.html" title="interface in com.google.android.exoplayer.extractor">SeekMap</a> getSeekMap()</pre>
|
|
<div class="block">Returns a <a href="../../../../../com/google/android/exoplayer/extractor/SeekMap.html" title="interface in com.google.android.exoplayer.extractor"><code>SeekMap</code></a> parsed from the chunk, or null.
|
|
<p>
|
|
Should be called after loading has completed.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="seekMap-com.google.android.exoplayer.extractor.SeekMap-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>seekMap</h4>
|
|
<pre>public void seekMap(<a href="../../../../../com/google/android/exoplayer/extractor/SeekMap.html" title="interface in com.google.android.exoplayer.extractor">SeekMap</a> seekMap)</pre>
|
|
<dl>
|
|
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
|
<dd><code><a href="../../../../../com/google/android/exoplayer/chunk/ChunkExtractorWrapper.SingleTrackOutput.html#seekMap-com.google.android.exoplayer.extractor.SeekMap-">seekMap</a></code> in interface <code><a href="../../../../../com/google/android/exoplayer/chunk/ChunkExtractorWrapper.SingleTrackOutput.html" title="interface in com.google.android.exoplayer.chunk">ChunkExtractorWrapper.SingleTrackOutput</a></code></dd>
|
|
<dt><span class="seeLabel">See Also:</span></dt>
|
|
<dd><a href="../../../../../com/google/android/exoplayer/extractor/ExtractorOutput.html#seekMap-com.google.android.exoplayer.extractor.SeekMap-"><code>ExtractorOutput.seekMap(SeekMap)</code></a></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="drmInitData-com.google.android.exoplayer.drm.DrmInitData-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>drmInitData</h4>
|
|
<pre>public void drmInitData(<a href="../../../../../com/google/android/exoplayer/drm/DrmInitData.html" title="interface in com.google.android.exoplayer.drm">DrmInitData</a> drmInitData)</pre>
|
|
<dl>
|
|
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
|
<dd><code><a href="../../../../../com/google/android/exoplayer/chunk/ChunkExtractorWrapper.SingleTrackOutput.html#drmInitData-com.google.android.exoplayer.drm.DrmInitData-">drmInitData</a></code> in interface <code><a href="../../../../../com/google/android/exoplayer/chunk/ChunkExtractorWrapper.SingleTrackOutput.html" title="interface in com.google.android.exoplayer.chunk">ChunkExtractorWrapper.SingleTrackOutput</a></code></dd>
|
|
<dt><span class="seeLabel">See Also:</span></dt>
|
|
<dd><a href="../../../../../com/google/android/exoplayer/extractor/ExtractorOutput.html#drmInitData-com.google.android.exoplayer.drm.DrmInitData-"><code>ExtractorOutput.drmInitData(DrmInitData)</code></a></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="format-com.google.android.exoplayer.MediaFormat-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>format</h4>
|
|
<pre>public void format(<a href="../../../../../com/google/android/exoplayer/MediaFormat.html" title="class in com.google.android.exoplayer">MediaFormat</a> mediaFormat)</pre>
|
|
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../com/google/android/exoplayer/extractor/TrackOutput.html#format-com.google.android.exoplayer.MediaFormat-">TrackOutput</a></code></span></div>
|
|
<div class="block">Invoked when the <a href="../../../../../com/google/android/exoplayer/MediaFormat.html" title="class in com.google.android.exoplayer"><code>MediaFormat</code></a> of the track has been extracted from the stream.</div>
|
|
<dl>
|
|
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
|
<dd><code><a href="../../../../../com/google/android/exoplayer/extractor/TrackOutput.html#format-com.google.android.exoplayer.MediaFormat-">format</a></code> in interface <code><a href="../../../../../com/google/android/exoplayer/extractor/TrackOutput.html" title="interface in com.google.android.exoplayer.extractor">TrackOutput</a></code></dd>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>mediaFormat</code> - The extracted <a href="../../../../../com/google/android/exoplayer/MediaFormat.html" title="class in com.google.android.exoplayer"><code>MediaFormat</code></a>.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="sampleData-com.google.android.exoplayer.extractor.ExtractorInput-int-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>sampleData</h4>
|
|
<pre>public int sampleData(<a href="../../../../../com/google/android/exoplayer/extractor/ExtractorInput.html" title="interface in com.google.android.exoplayer.extractor">ExtractorInput</a> input,
|
|
int length,
|
|
boolean allowEndOfInput)
|
|
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>,
|
|
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</a></pre>
|
|
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../com/google/android/exoplayer/extractor/TrackOutput.html#sampleData-com.google.android.exoplayer.extractor.ExtractorInput-int-boolean-">TrackOutput</a></code></span></div>
|
|
<div class="block">Invoked to write sample data to the output.</div>
|
|
<dl>
|
|
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
|
<dd><code><a href="../../../../../com/google/android/exoplayer/extractor/TrackOutput.html#sampleData-com.google.android.exoplayer.extractor.ExtractorInput-int-boolean-">sampleData</a></code> in interface <code><a href="../../../../../com/google/android/exoplayer/extractor/TrackOutput.html" title="interface in com.google.android.exoplayer.extractor">TrackOutput</a></code></dd>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>input</code> - An <a href="../../../../../com/google/android/exoplayer/extractor/ExtractorInput.html" title="interface in com.google.android.exoplayer.extractor"><code>ExtractorInput</code></a> from which to read the sample data.</dd>
|
|
<dd><code>length</code> - The maximum length to read from the input.</dd>
|
|
<dd><code>allowEndOfInput</code> - True if encountering the end of the input having read no data is
|
|
allowed, and should result in <a href="../../../../../com/google/android/exoplayer/C.html#RESULT_END_OF_INPUT"><code>C.RESULT_END_OF_INPUT</code></a> being returned. False if it
|
|
should be considered an error, causing an <a href="http://docs.oracle.com/javase/7/docs/api/java/io/EOFException.html?is-external=true" title="class or interface in java.io"><code>EOFException</code></a> to be thrown.</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>The number of bytes appended.</dd>
|
|
<dt><span class="throwsLabel">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - If an error occurred reading from the input.</dd>
|
|
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</a></code> - If the thread was interrupted.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="sampleData-com.google.android.exoplayer.util.ParsableByteArray-int-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>sampleData</h4>
|
|
<pre>public void sampleData(<a href="../../../../../com/google/android/exoplayer/util/ParsableByteArray.html" title="class in com.google.android.exoplayer.util">ParsableByteArray</a> data,
|
|
int length)</pre>
|
|
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../com/google/android/exoplayer/extractor/TrackOutput.html#sampleData-com.google.android.exoplayer.util.ParsableByteArray-int-">TrackOutput</a></code></span></div>
|
|
<div class="block">Invoked to write sample data to the output.</div>
|
|
<dl>
|
|
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
|
<dd><code><a href="../../../../../com/google/android/exoplayer/extractor/TrackOutput.html#sampleData-com.google.android.exoplayer.util.ParsableByteArray-int-">sampleData</a></code> in interface <code><a href="../../../../../com/google/android/exoplayer/extractor/TrackOutput.html" title="interface in com.google.android.exoplayer.extractor">TrackOutput</a></code></dd>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>data</code> - A <a href="../../../../../com/google/android/exoplayer/util/ParsableByteArray.html" title="class in com.google.android.exoplayer.util"><code>ParsableByteArray</code></a> from which to read the sample data.</dd>
|
|
<dd><code>length</code> - The number of bytes to read.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="sampleMetadata-long-int-int-int-byte:A-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>sampleMetadata</h4>
|
|
<pre>public void sampleMetadata(long timeUs,
|
|
int flags,
|
|
int size,
|
|
int offset,
|
|
byte[] encryptionKey)</pre>
|
|
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../com/google/android/exoplayer/extractor/TrackOutput.html#sampleMetadata-long-int-int-int-byte:A-">TrackOutput</a></code></span></div>
|
|
<div class="block">Invoked when metadata associated with a sample has been extracted from the stream.
|
|
<p>
|
|
The corresponding sample data will have already been passed to the output via calls to
|
|
<a href="../../../../../com/google/android/exoplayer/extractor/TrackOutput.html#sampleData-com.google.android.exoplayer.extractor.ExtractorInput-int-boolean-"><code>TrackOutput.sampleData(ExtractorInput, int, boolean)</code></a> or
|
|
<a href="../../../../../com/google/android/exoplayer/extractor/TrackOutput.html#sampleData-com.google.android.exoplayer.util.ParsableByteArray-int-"><code>TrackOutput.sampleData(ParsableByteArray, int)</code></a>.</div>
|
|
<dl>
|
|
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
|
<dd><code><a href="../../../../../com/google/android/exoplayer/extractor/TrackOutput.html#sampleMetadata-long-int-int-int-byte:A-">sampleMetadata</a></code> in interface <code><a href="../../../../../com/google/android/exoplayer/extractor/TrackOutput.html" title="interface in com.google.android.exoplayer.extractor">TrackOutput</a></code></dd>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>timeUs</code> - The media timestamp associated with the sample, in microseconds.</dd>
|
|
<dd><code>flags</code> - Flags associated with the sample. See <a href="../../../../../com/google/android/exoplayer/SampleHolder.html#flags"><code>SampleHolder.flags</code></a>.</dd>
|
|
<dd><code>size</code> - The size of the sample data, in bytes.</dd>
|
|
<dd><code>offset</code> - The number of bytes that have been passed to
|
|
<a href="../../../../../com/google/android/exoplayer/extractor/TrackOutput.html#sampleData-com.google.android.exoplayer.extractor.ExtractorInput-int-boolean-"><code>TrackOutput.sampleData(ExtractorInput, int, boolean)</code></a> or
|
|
<a href="../../../../../com/google/android/exoplayer/extractor/TrackOutput.html#sampleData-com.google.android.exoplayer.util.ParsableByteArray-int-"><code>TrackOutput.sampleData(ParsableByteArray, int)</code></a> since the last byte belonging to the sample
|
|
whose metadata is being passed.</dd>
|
|
<dd><code>encryptionKey</code> - The encryption key associated with the sample. May be null.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="cancelLoad--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>cancelLoad</h4>
|
|
<pre>public void cancelLoad()</pre>
|
|
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../com/google/android/exoplayer/upstream/Loader.Loadable.html#cancelLoad--">Loader.Loadable</a></code></span></div>
|
|
<div class="block">Cancels the load.</div>
|
|
<dl>
|
|
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
|
<dd><code><a href="../../../../../com/google/android/exoplayer/upstream/Loader.Loadable.html#cancelLoad--">cancelLoad</a></code> in interface <code><a href="../../../../../com/google/android/exoplayer/upstream/Loader.Loadable.html" title="interface in com.google.android.exoplayer.upstream">Loader.Loadable</a></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="isLoadCanceled--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isLoadCanceled</h4>
|
|
<pre>public boolean isLoadCanceled()</pre>
|
|
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../com/google/android/exoplayer/upstream/Loader.Loadable.html#isLoadCanceled--">Loader.Loadable</a></code></span></div>
|
|
<div class="block">Whether the load has been canceled.</div>
|
|
<dl>
|
|
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
|
<dd><code><a href="../../../../../com/google/android/exoplayer/upstream/Loader.Loadable.html#isLoadCanceled--">isLoadCanceled</a></code> in interface <code><a href="../../../../../com/google/android/exoplayer/upstream/Loader.Loadable.html" title="interface in com.google.android.exoplayer.upstream">Loader.Loadable</a></code></dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>True if the load has been canceled. False otherwise.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="load--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockListLast">
|
|
<li class="blockList">
|
|
<h4>load</h4>
|
|
<pre>public void load()
|
|
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>,
|
|
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</a></pre>
|
|
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../com/google/android/exoplayer/upstream/Loader.Loadable.html#load--">Loader.Loadable</a></code></span></div>
|
|
<div class="block">Performs the load, returning on completion or cancelation.</div>
|
|
<dl>
|
|
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
|
<dd><code><a href="../../../../../com/google/android/exoplayer/upstream/Loader.Loadable.html#load--">load</a></code> in interface <code><a href="../../../../../com/google/android/exoplayer/upstream/Loader.Loadable.html" title="interface in com.google.android.exoplayer.upstream">Loader.Loadable</a></code></dd>
|
|
<dt><span class="throwsLabel">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
|
|
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</a></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<!-- ========= END OF CLASS DATA ========= -->
|
|
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
|
<div class="bottomNav"><a name="navbar.bottom">
|
|
<!-- -->
|
|
</a>
|
|
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
|
<a name="navbar.bottom.firstrow">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="navList" title="Navigation">
|
|
<li><a href="../../../../../overview-summary.html">Overview</a></li>
|
|
<li><a href="package-summary.html">Package</a></li>
|
|
<li class="navBarCell1Rev">Class</li>
|
|
<li><a href="package-tree.html">Tree</a></li>
|
|
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
|
<li><a href="../../../../../index-all.html">Index</a></li>
|
|
<li><a href="../../../../../help-doc.html">Help</a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="subNav">
|
|
<ul class="navList">
|
|
<li><a href="../../../../../com/google/android/exoplayer/chunk/FormatWrapper.html" title="interface in com.google.android.exoplayer.chunk"><span class="typeNameLink">Prev Class</span></a></li>
|
|
<li><a href="../../../../../com/google/android/exoplayer/chunk/MediaChunk.html" title="class in com.google.android.exoplayer.chunk"><span class="typeNameLink">Next Class</span></a></li>
|
|
</ul>
|
|
<ul class="navList">
|
|
<li><a href="../../../../../index.html?com/google/android/exoplayer/chunk/InitializationChunk.html" target="_top">Frames</a></li>
|
|
<li><a href="InitializationChunk.html" target="_top">No Frames</a></li>
|
|
</ul>
|
|
<ul class="navList" id="allclasses_navbar_bottom">
|
|
<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
|
|
</ul>
|
|
<div>
|
|
<script type="text/javascript"><!--
|
|
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
|
if(window==top) {
|
|
allClassesLink.style.display = "block";
|
|
}
|
|
else {
|
|
allClassesLink.style.display = "none";
|
|
}
|
|
//-->
|
|
</script>
|
|
</div>
|
|
<div>
|
|
<ul class="subNavList">
|
|
<li>Summary: </li>
|
|
<li>Nested | </li>
|
|
<li><a href="#fields.inherited.from.class.com.google.android.exoplayer.chunk.Chunk">Field</a> | </li>
|
|
<li><a href="#constructor.summary">Constr</a> | </li>
|
|
<li><a href="#method.summary">Method</a></li>
|
|
</ul>
|
|
<ul class="subNavList">
|
|
<li>Detail: </li>
|
|
<li>Field | </li>
|
|
<li><a href="#constructor.detail">Constr</a> | </li>
|
|
<li><a href="#method.detail">Method</a></li>
|
|
</ul>
|
|
</div>
|
|
<a name="skip.navbar.bottom">
|
|
<!-- -->
|
|
</a></div>
|
|
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
|
</body>
|
|
</html>
|