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
0e36bdb2
authored
Nov 10, 2021
by
ibaker
Committed by
tonihei
Nov 11, 2021
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Fix TrackSelectionOverrides javadoc
#minor-release PiperOrigin-RevId: 408825328
parent
ee006ff2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
library/common/src/main/java/com/google/android/exoplayer2/trackselection/TrackSelectionOverrides.java
library/common/src/main/java/com/google/android/exoplayer2/trackselection/TrackSelectionOverrides.java
View file @
0e36bdb2
...
@@ -115,14 +115,14 @@ public final class TrackSelectionOverrides implements Bundleable {
...
@@ -115,14 +115,14 @@ public final class TrackSelectionOverrides implements Bundleable {
/**
/**
* Forces the selection of {@link #trackIndices} for a {@link TrackGroup}.
* Forces the selection of {@link #trackIndices} for a {@link TrackGroup}.
*
*
* <p>If multiple
{link #tracks} are overridden, as many as possible will be selected depending on
* <p>If multiple
tracks in {@link #trackGroup} are overridden, as many as possible will be
* the player capabilities.
*
selected depending on
the player capabilities.
*
*
* <p>If
a {@link TrackSelectionOverride} has no tracks ({@code tracks.isEmpty()}), no tracks will
* <p>If
{@link #trackIndices} is empty, no tracks from {@link #trackGroup} will be played. This
*
be played. This is similar to {@link TrackSelectionParameters#disabledTrackTypes}, except i
t
*
is similar to {@link TrackSelectionParameters#disabledTrackTypes}, except it will only affec
t
*
will only affect the playback of the associated {@link TrackGroup}. For example, if the only
*
the playback of the associated {@link TrackGroup}. For example, if the only {@link
*
{@link C#TRACK_TYPE_VIDEO} {@link TrackGroup} is associated with no tracks, no video will play
*
C#TRACK_TYPE_VIDEO} {@link TrackGroup} is associated with no tracks, no video will play until
*
until
the next video starts.
* the next video starts.
*/
*/
public
static
final
class
TrackSelectionOverride
implements
Bundleable
{
public
static
final
class
TrackSelectionOverride
implements
Bundleable
{
...
@@ -232,7 +232,7 @@ public final class TrackSelectionOverrides implements Bundleable {
...
@@ -232,7 +232,7 @@ public final class TrackSelectionOverrides implements Bundleable {
return
new
Builder
(
overrides
);
return
new
Builder
(
overrides
);
}
}
/** Returns a
ll {@link TrackSelectionOverride} contained
. */
/** Returns a
list of the {@link TrackSelectionOverride overrides}
. */
public
ImmutableList
<
TrackSelectionOverride
>
asList
()
{
public
ImmutableList
<
TrackSelectionOverride
>
asList
()
{
return
ImmutableList
.
copyOf
(
overrides
.
values
());
return
ImmutableList
.
copyOf
(
overrides
.
values
());
}
}
...
...
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