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
1d3f72c9
authored
Apr 13, 2021
by
ibaker
Committed by
Andrew Lewis
Apr 13, 2021
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Clarify documentation on C.SELECTION_FLAG_FORCED
Issue: #8755 PiperOrigin-RevId: 368204094
parent
ffc2a47d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletions
library/common/src/main/java/com/google/android/exoplayer2/C.java
library/common/src/main/java/com/google/android/exoplayer2/C.java
View file @
1d3f72c9
...
...
@@ -588,7 +588,15 @@ public final class C {
* Indicates that the track should be selected if user preferences do not state otherwise.
*/
public
static
final
int
SELECTION_FLAG_DEFAULT
=
1
;
/** Indicates that the track must be displayed. Only applies to text tracks. */
/**
* Indicates that the track should be selected if its language matches the language of the
* selected audio track and user preferences do not state otherwise. Only applies to text tracks.
*
* <p>Tracks with this flag generally provide translation for elements that don't match the
* declared language of the selected audio track (e.g. speech in an alien language). See <a
* href="https://partnerhelp.netflixstudios.com/hc/en-us/articles/217558918">Netflix's summary</a>
* for more info.
*/
public
static
final
int
SELECTION_FLAG_FORCED
=
1
<<
1
;
// 2
/**
* Indicates that the player may choose to play the track in absence of an explicit user
...
...
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