mirror of
https://github.com/samsonjs/media.git
synced 2026-04-02 10:45:51 +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.
|
||||
*
|
||||
* <ol>
|
||||
* <ol>
|
||||
* <li>
|
||||
* Include all {@link SchemeData}s from {@code manifestData} where {@link
|
||||
* SchemeData#hasData()} is true.
|
||||
* </ol>
|
||||
* <ol>
|
||||
* </li>
|
||||
* <li>
|
||||
* 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.
|
||||
* </ol>
|
||||
* <ol>
|
||||
* </li>
|
||||
* <li>
|
||||
* If available, the scheme type from the manifest is used. If not, the scheme type from the
|
||||
* media is used.
|
||||
* </ol>
|
||||
* </li>
|
||||
* </ol>
|
||||
*
|
||||
* @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
|
||||
* messages.
|
||||
*
|
||||
* @see Handler#Handler(Looper, Handler.Callback).
|
||||
* @see Handler#Handler(Looper, Handler.Callback)
|
||||
*/
|
||||
HandlerWrapper createHandler(Looper looper, @Nullable Handler.Callback callback);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -25,36 +25,36 @@ import android.os.Message;
|
|||
*/
|
||||
public interface HandlerWrapper {
|
||||
|
||||
/** @see Handler#getLooper(). */
|
||||
/** @see Handler#getLooper() */
|
||||
Looper getLooper();
|
||||
|
||||
/** @see Handler#obtainMessage(int). */
|
||||
/** @see Handler#obtainMessage(int) */
|
||||
Message obtainMessage(int what);
|
||||
|
||||
/** @see Handler#obtainMessage(int, Object). */
|
||||
/** @see Handler#obtainMessage(int, Object) */
|
||||
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);
|
||||
|
||||
/** @see Handler#obtainMessage(int, int, int, Object). */
|
||||
/** @see Handler#obtainMessage(int, int, int, Object) */
|
||||
Message obtainMessage(int what, int arg1, int arg2, Object obj);
|
||||
|
||||
/** @see Handler#sendEmptyMessage(int). */
|
||||
/** @see Handler#sendEmptyMessage(int) */
|
||||
boolean sendEmptyMessage(int what);
|
||||
|
||||
/** @see Handler#sendEmptyMessageAtTime(int, long). */
|
||||
/** @see Handler#sendEmptyMessageAtTime(int, long) */
|
||||
boolean sendEmptyMessageAtTime(int what, long uptimeMs);
|
||||
|
||||
/** @see Handler#removeMessages(int). */
|
||||
/** @see Handler#removeMessages(int) */
|
||||
void removeMessages(int what);
|
||||
|
||||
/** @see Handler#removeCallbacksAndMessages(Object). */
|
||||
/** @see Handler#removeCallbacksAndMessages(Object) */
|
||||
void removeCallbacksAndMessages(Object token);
|
||||
|
||||
/** @see Handler#post(Runnable). */
|
||||
/** @see Handler#post(Runnable) */
|
||||
boolean post(Runnable runnable);
|
||||
|
||||
/** @see Handler#postDelayed(Runnable, long). */
|
||||
/** @see Handler#postDelayed(Runnable, long) */
|
||||
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.
|
||||
* @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 value The schemeIdUri of the parent EventStream.
|
||||
* @param timescale The timescale of the parent EventStream.
|
||||
* @param scratchOutputStream A {@link ByteArrayOutputStream} that is used to write serialize data
|
||||
* in between <Event> and </Event> tags into.
|
||||
* @param scratchOutputStream A {@link ByteArrayOutputStream} that's used when parsing event
|
||||
* objects.
|
||||
* @return The {@link EventMessage} parsed from this EventStream node.
|
||||
* @throws XmlPullParserException If there is any error parsing this node.
|
||||
* @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 scratchOutputStream A {@link ByteArrayOutputStream} that is used to write serialize byte
|
||||
* array data into.
|
||||
* @param scratchOutputStream A {@link ByteArrayOutputStream} that's used when parsing the object.
|
||||
* @return The serialized byte array.
|
||||
* @throws XmlPullParserException If there is any error parsing this node.
|
||||
* @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
|
||||
* dashDownloader.selectRepresentations(new RepresentationKey[] {new RepresentationKey(0, 0, 0)});
|
||||
* dashDownloader.download(new ProgressListener() {
|
||||
* @Override
|
||||
* {@literal @}Override
|
||||
* public void onDownloadProgress(Downloader downloader, float downloadPercentage,
|
||||
* long downloadedBytes) {
|
||||
* // Invoked periodically during the download.
|
||||
|
|
|
|||
|
|
@ -48,7 +48,7 @@ import java.util.List;
|
|||
* // Select the first track of the first stream element
|
||||
* ssDownloader.selectRepresentations(new TrackKey[] {new TrackKey(0, 0)});
|
||||
* ssDownloader.download(new ProgressListener() {
|
||||
* @Override
|
||||
* {@literal @}Override
|
||||
* public void onDownloadProgress(Downloader downloader, float downloadPercentage,
|
||||
* long downloadedBytes) {
|
||||
* // Invoked periodically during the download.
|
||||
|
|
|
|||
Loading…
Reference in a new issue