mirror of
https://github.com/androidx/media.git
synced 2025-04-30 06:46:50 +08: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
@ -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…
x
Reference in New Issue
Block a user