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
d3d9e288
authored
Sep 17, 2019
by
olly
Committed by
Oliver Woodman
Sep 17, 2019
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Improve ChunkSource.onChunkLoadError documentation
PiperOrigin-RevId: 269463652
parent
6ae3e098
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletions
library/core/src/main/java/com/google/android/exoplayer2/source/chunk/ChunkSource.java
library/core/src/main/java/com/google/android/exoplayer2/source/chunk/ChunkSource.java
View file @
d3d9e288
...
@@ -102,7 +102,10 @@ public interface ChunkSource {
...
@@ -102,7 +102,10 @@ public interface ChunkSource {
* @param e The error.
* @param e The error.
* @param blacklistDurationMs The duration for which the associated track may be blacklisted, or
* @param blacklistDurationMs The duration for which the associated track may be blacklisted, or
* {@link C#TIME_UNSET} if the track may not be blacklisted.
* {@link C#TIME_UNSET} if the track may not be blacklisted.
* @return Whether the load should be canceled. Must be false if {@code cancelable} is false.
* @return Whether the load should be canceled so that a replacement chunk can be loaded instead.
* Must be {@code false} if {@code cancelable} is {@code false}. If {@code true}, {@link
* #getNextChunk(long, long, List, ChunkHolder)} will be called to obtain the replacement
* chunk.
*/
*/
boolean
onChunkLoadError
(
Chunk
chunk
,
boolean
cancelable
,
Exception
e
,
long
blacklistDurationMs
);
boolean
onChunkLoadError
(
Chunk
chunk
,
boolean
cancelable
,
Exception
e
,
long
blacklistDurationMs
);
}
}
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