Commit f11a9cdf by krocard Committed by Christos Tsilopoulos

Move documentation in common that linked to core classes

This will allow moving Player in common.

#player-to-common

PiperOrigin-RevId: 347797285
parent e791e3ce
......@@ -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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment