Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
SDK
/
exoplayer
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
d58e8df2
authored
Aug 16, 2021
by
samrobinson
Committed by
Oliver Woodman
Aug 17, 2021
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Deprecate ExoPlayer TextComponent.
PiperOrigin-RevId: 391077147
parent
ef0bfa48
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
3 deletions
library/core/src/main/java/com/google/android/exoplayer2/ExoPlayer.java
library/core/src/main/java/com/google/android/exoplayer2/ExoPlayer.java
View file @
d58e8df2
...
...
@@ -382,10 +382,15 @@ public interface ExoPlayer extends Player {
VideoSize
getVideoSize
();
}
/** The text component of an {@link ExoPlayer}. */
/**
* @deprecated Use {@link Player} instead, as the {@link TextComponent} methods are a part of the
* {@link Player interface}.
*/
@Deprecated
interface
TextComponent
{
/** Returns the current {@link Cue Cues}. This list may be empty. */
/** @deprecated Use {@link Player#getCurrentCues()} instead. */
@Deprecated
List
<
Cue
>
getCurrentCues
();
}
...
...
@@ -950,8 +955,12 @@ public interface ExoPlayer extends Player {
@Nullable
VideoComponent
getVideoComponent
();
/** Returns the component of this player for text output, or null if text is not supported. */
/**
* @deprecated Use {@link Player} instead, as the {@link TextComponent} methods are a part of the
* {@link Player interface}.
*/
@Nullable
@Deprecated
TextComponent
getTextComponent
();
/** Returns the component of this player for playback device, or null if it's not supported. */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment