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
c3f3b1bf
authored
Sep 02, 2019
by
aquilescanta
Committed by
Oliver Woodman
Sep 16, 2019
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Clarify LoadErrorHandlingPolicy's loadDurationMs javadocs
PiperOrigin-RevId: 266797383
parent
c879bbf6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
library/core/src/main/java/com/google/android/exoplayer2/upstream/LoadErrorHandlingPolicy.java
library/core/src/main/java/com/google/android/exoplayer2/upstream/LoadErrorHandlingPolicy.java
View file @
c3f3b1bf
...
@@ -44,8 +44,8 @@ public interface LoadErrorHandlingPolicy {
...
@@ -44,8 +44,8 @@ public interface LoadErrorHandlingPolicy {
*
*
* @param dataType One of the {@link C C.DATA_TYPE_*} constants indicating the type of data to
* @param dataType One of the {@link C C.DATA_TYPE_*} constants indicating the type of data to
* load.
* load.
* @param loadDurationMs The duration in milliseconds of the load
up to the point at which the
* @param loadDurationMs The duration in milliseconds of the load
from the start of the first load
*
error occurred, including any previous attempts
.
*
attempt up to the point at which the error occurred
.
* @param exception The load error.
* @param exception The load error.
* @param errorCount The number of errors this load has encountered, including this one.
* @param errorCount The number of errors this load has encountered, including this one.
* @return The blacklist duration in milliseconds, or {@link C#TIME_UNSET} if the resource should
* @return The blacklist duration in milliseconds, or {@link C#TIME_UNSET} if the resource should
...
@@ -64,8 +64,8 @@ public interface LoadErrorHandlingPolicy {
...
@@ -64,8 +64,8 @@ public interface LoadErrorHandlingPolicy {
*
*
* @param dataType One of the {@link C C.DATA_TYPE_*} constants indicating the type of data to
* @param dataType One of the {@link C C.DATA_TYPE_*} constants indicating the type of data to
* load.
* load.
* @param loadDurationMs The duration in milliseconds of the load
up to the point at which the
* @param loadDurationMs The duration in milliseconds of the load
from the start of the first load
*
error occurred, including any previous attempts
.
*
attempt up to the point at which the error occurred
.
* @param exception The load error.
* @param exception The load error.
* @param errorCount The number of errors this load has encountered, including this one.
* @param errorCount The number of errors this load has encountered, including this one.
* @return The number of milliseconds to wait before attempting the load again, or {@link
* @return The number of milliseconds to wait before attempting the load again, or {@link
...
...
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