mirror of
https://github.com/samsonjs/media.git
synced 2026-03-25 09:25:53 +00:00
Move documentation in common that linked to core classes
This will allow moving Player in common. #player-to-common PiperOrigin-RevId: 347797285
This commit is contained in:
parent
e791e3ce54
commit
f11a9cdf71
2 changed files with 5 additions and 4 deletions
|
|
@ -1431,7 +1431,9 @@ public interface Player {
|
|||
/**
|
||||
* Returns the track type that the renderer at a given index handles.
|
||||
*
|
||||
* @see Renderer#getTrackType()
|
||||
* <p>For example, a video renderer will return {@link C#TRACK_TYPE_VIDEO}, an audio renderer will
|
||||
* return {@link C#TRACK_TYPE_AUDIO} and a text renderer will return {@link C#TRACK_TYPE_TEXT}.
|
||||
*
|
||||
* @param index The index of the renderer.
|
||||
* @return One of the {@code TRACK_TYPE_*} constants defined in {@link C}.
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -237,10 +237,9 @@ public interface Renderer extends PlayerMessage.Target {
|
|||
String getName();
|
||||
|
||||
/**
|
||||
* Returns the track type that the renderer handles. For example, a video renderer will return
|
||||
* {@link C#TRACK_TYPE_VIDEO}, an audio renderer will return {@link C#TRACK_TYPE_AUDIO}, a text
|
||||
* renderer will return {@link C#TRACK_TYPE_TEXT}, and so on.
|
||||
* Returns the track type that the renderer handles.
|
||||
*
|
||||
* @see Player#getRendererType(int)
|
||||
* @return One of the {@code TRACK_TYPE_*} constants defined in {@link C}.
|
||||
*/
|
||||
int getTrackType();
|
||||
|
|
|
|||
Loading…
Reference in a new issue