mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +00:00
Fix bad Javadoc
This commit is contained in:
parent
1a5d985e2a
commit
6054ba418f
7 changed files with 25 additions and 26 deletions
|
|
@ -39,18 +39,18 @@ public final class DrmInitData implements Comparator<SchemeData>, Parcelable {
|
||||||
* <p>The result is generated as follows.
|
* <p>The result is generated as follows.
|
||||||
*
|
*
|
||||||
* <ol>
|
* <ol>
|
||||||
* <ol>
|
* <li>
|
||||||
* Include all {@link SchemeData}s from {@code manifestData} where {@link
|
* Include all {@link SchemeData}s from {@code manifestData} where {@link
|
||||||
* SchemeData#hasData()} is true.
|
* SchemeData#hasData()} is true.
|
||||||
* </ol>
|
* </li>
|
||||||
* <ol>
|
* <li>
|
||||||
* Include all {@link SchemeData}s in {@code mediaData} where {@link SchemeData#hasData()} is
|
* Include all {@link SchemeData}s in {@code mediaData} where {@link SchemeData#hasData()} is
|
||||||
* true and for which we did not include an entry from the manifest targeting the same UUID.
|
* true and for which we did not include an entry from the manifest targeting the same UUID.
|
||||||
* </ol>
|
* </li>
|
||||||
* <ol>
|
* <li>
|
||||||
* If available, the scheme type from the manifest is used. If not, the scheme type from the
|
* If available, the scheme type from the manifest is used. If not, the scheme type from the
|
||||||
* media is used.
|
* media is used.
|
||||||
* </ol>
|
* </li>
|
||||||
* </ol>
|
* </ol>
|
||||||
*
|
*
|
||||||
* @param manifestData DRM session acquisition data obtained from the manifest.
|
* @param manifestData DRM session acquisition data obtained from the manifest.
|
||||||
|
|
|
||||||
|
|
@ -43,7 +43,7 @@ public interface Clock {
|
||||||
* Creates a {@link HandlerWrapper} using a specified looper and a specified callback for handling
|
* Creates a {@link HandlerWrapper} using a specified looper and a specified callback for handling
|
||||||
* messages.
|
* messages.
|
||||||
*
|
*
|
||||||
* @see Handler#Handler(Looper, Handler.Callback).
|
* @see Handler#Handler(Looper, Handler.Callback)
|
||||||
*/
|
*/
|
||||||
HandlerWrapper createHandler(Looper looper, @Nullable Handler.Callback callback);
|
HandlerWrapper createHandler(Looper looper, @Nullable Handler.Callback callback);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -25,36 +25,36 @@ import android.os.Message;
|
||||||
*/
|
*/
|
||||||
public interface HandlerWrapper {
|
public interface HandlerWrapper {
|
||||||
|
|
||||||
/** @see Handler#getLooper(). */
|
/** @see Handler#getLooper() */
|
||||||
Looper getLooper();
|
Looper getLooper();
|
||||||
|
|
||||||
/** @see Handler#obtainMessage(int). */
|
/** @see Handler#obtainMessage(int) */
|
||||||
Message obtainMessage(int what);
|
Message obtainMessage(int what);
|
||||||
|
|
||||||
/** @see Handler#obtainMessage(int, Object). */
|
/** @see Handler#obtainMessage(int, Object) */
|
||||||
Message obtainMessage(int what, Object obj);
|
Message obtainMessage(int what, Object obj);
|
||||||
|
|
||||||
/** @see Handler#obtainMessage(int, int, int). */
|
/** @see Handler#obtainMessage(int, int, int) */
|
||||||
Message obtainMessage(int what, int arg1, int arg2);
|
Message obtainMessage(int what, int arg1, int arg2);
|
||||||
|
|
||||||
/** @see Handler#obtainMessage(int, int, int, Object). */
|
/** @see Handler#obtainMessage(int, int, int, Object) */
|
||||||
Message obtainMessage(int what, int arg1, int arg2, Object obj);
|
Message obtainMessage(int what, int arg1, int arg2, Object obj);
|
||||||
|
|
||||||
/** @see Handler#sendEmptyMessage(int). */
|
/** @see Handler#sendEmptyMessage(int) */
|
||||||
boolean sendEmptyMessage(int what);
|
boolean sendEmptyMessage(int what);
|
||||||
|
|
||||||
/** @see Handler#sendEmptyMessageAtTime(int, long). */
|
/** @see Handler#sendEmptyMessageAtTime(int, long) */
|
||||||
boolean sendEmptyMessageAtTime(int what, long uptimeMs);
|
boolean sendEmptyMessageAtTime(int what, long uptimeMs);
|
||||||
|
|
||||||
/** @see Handler#removeMessages(int). */
|
/** @see Handler#removeMessages(int) */
|
||||||
void removeMessages(int what);
|
void removeMessages(int what);
|
||||||
|
|
||||||
/** @see Handler#removeCallbacksAndMessages(Object). */
|
/** @see Handler#removeCallbacksAndMessages(Object) */
|
||||||
void removeCallbacksAndMessages(Object token);
|
void removeCallbacksAndMessages(Object token);
|
||||||
|
|
||||||
/** @see Handler#post(Runnable). */
|
/** @see Handler#post(Runnable) */
|
||||||
boolean post(Runnable runnable);
|
boolean post(Runnable runnable);
|
||||||
|
|
||||||
/** @see Handler#postDelayed(Runnable, long). */
|
/** @see Handler#postDelayed(Runnable, long) */
|
||||||
boolean postDelayed(Runnable runnable, long delayMs);
|
boolean postDelayed(Runnable runnable, long delayMs);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -942,7 +942,7 @@ public final class Util {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns whether {@code encoding} is high resolution (> 16-bit) integer PCM.
|
* Returns whether {@code encoding} is high resolution (> 16-bit) integer PCM.
|
||||||
*
|
*
|
||||||
* @param encoding The encoding of the audio data.
|
* @param encoding The encoding of the audio data.
|
||||||
* @return Whether the encoding is high resolution integer PCM.
|
* @return Whether the encoding is high resolution integer PCM.
|
||||||
|
|
|
||||||
|
|
@ -737,8 +737,8 @@ public class DashManifestParser extends DefaultHandler
|
||||||
* @param schemeIdUri The schemeIdUri of the parent EventStream.
|
* @param schemeIdUri The schemeIdUri of the parent EventStream.
|
||||||
* @param value The schemeIdUri of the parent EventStream.
|
* @param value The schemeIdUri of the parent EventStream.
|
||||||
* @param timescale The timescale of the parent EventStream.
|
* @param timescale The timescale of the parent EventStream.
|
||||||
* @param scratchOutputStream A {@link ByteArrayOutputStream} that is used to write serialize data
|
* @param scratchOutputStream A {@link ByteArrayOutputStream} that's used when parsing event
|
||||||
* in between <Event> and </Event> tags into.
|
* objects.
|
||||||
* @return The {@link EventMessage} parsed from this EventStream node.
|
* @return The {@link EventMessage} parsed from this EventStream node.
|
||||||
* @throws XmlPullParserException If there is any error parsing this node.
|
* @throws XmlPullParserException If there is any error parsing this node.
|
||||||
* @throws IOException If there is any error reading from the underlying input stream.
|
* @throws IOException If there is any error reading from the underlying input stream.
|
||||||
|
|
@ -757,11 +757,10 @@ public class DashManifestParser extends DefaultHandler
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Parses everything between <Event></Event> as a byte array string.
|
* Parses an event object.
|
||||||
*
|
*
|
||||||
* @param xpp The current xml parser.
|
* @param xpp The current xml parser.
|
||||||
* @param scratchOutputStream A {@link ByteArrayOutputStream} that is used to write serialize byte
|
* @param scratchOutputStream A {@link ByteArrayOutputStream} that's used when parsing the object.
|
||||||
* array data into.
|
|
||||||
* @return The serialized byte array.
|
* @return The serialized byte array.
|
||||||
* @throws XmlPullParserException If there is any error parsing this node.
|
* @throws XmlPullParserException If there is any error parsing this node.
|
||||||
* @throws IOException If there is any error reading from the underlying input stream.
|
* @throws IOException If there is any error reading from the underlying input stream.
|
||||||
|
|
|
||||||
|
|
@ -54,7 +54,7 @@ import java.util.List;
|
||||||
* // Select the first representation of the first adaptation set of the first period
|
* // Select the first representation of the first adaptation set of the first period
|
||||||
* dashDownloader.selectRepresentations(new RepresentationKey[] {new RepresentationKey(0, 0, 0)});
|
* dashDownloader.selectRepresentations(new RepresentationKey[] {new RepresentationKey(0, 0, 0)});
|
||||||
* dashDownloader.download(new ProgressListener() {
|
* dashDownloader.download(new ProgressListener() {
|
||||||
* @Override
|
* {@literal @}Override
|
||||||
* public void onDownloadProgress(Downloader downloader, float downloadPercentage,
|
* public void onDownloadProgress(Downloader downloader, float downloadPercentage,
|
||||||
* long downloadedBytes) {
|
* long downloadedBytes) {
|
||||||
* // Invoked periodically during the download.
|
* // Invoked periodically during the download.
|
||||||
|
|
|
||||||
|
|
@ -48,7 +48,7 @@ import java.util.List;
|
||||||
* // Select the first track of the first stream element
|
* // Select the first track of the first stream element
|
||||||
* ssDownloader.selectRepresentations(new TrackKey[] {new TrackKey(0, 0)});
|
* ssDownloader.selectRepresentations(new TrackKey[] {new TrackKey(0, 0)});
|
||||||
* ssDownloader.download(new ProgressListener() {
|
* ssDownloader.download(new ProgressListener() {
|
||||||
* @Override
|
* {@literal @}Override
|
||||||
* public void onDownloadProgress(Downloader downloader, float downloadPercentage,
|
* public void onDownloadProgress(Downloader downloader, float downloadPercentage,
|
||||||
* long downloadedBytes) {
|
* long downloadedBytes) {
|
||||||
* // Invoked periodically during the download.
|
* // Invoked periodically during the download.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue