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
73654e27
authored
Sep 14, 2019
by
olly
Committed by
Oliver Woodman
Sep 16, 2019
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Minor cleanup to Loader documentation
PiperOrigin-RevId: 269092322
parent
e784d2c5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
library/core/src/main/java/com/google/android/exoplayer2/upstream/Loader.java
library/core/src/main/java/com/google/android/exoplayer2/upstream/Loader.java
View file @
73654e27
...
...
@@ -158,12 +158,12 @@ public final class Loader implements LoaderErrorThrower {
/** Retries the load using the default delay and resets the error count. */
public
static
final
LoadErrorAction
RETRY_RESET_ERROR_COUNT
=
createRetryAction
(
/* resetErrorCount= */
true
,
C
.
TIME_UNSET
);
/** Discards the failed
loading task
and ignores any errors that have occurred. */
/** Discards the failed
{@link Loadable}
and ignores any errors that have occurred. */
public
static
final
LoadErrorAction
DONT_RETRY
=
new
LoadErrorAction
(
ACTION_TYPE_DONT_RETRY
,
C
.
TIME_UNSET
);
/**
* Discards the failed
load. The next call to {@link #maybeThrowError()} will throw the last load
* error.
* Discards the failed
{@link Loadable}. The next call to {@link #maybeThrowError()} will throw
*
the last load
error.
*/
public
static
final
LoadErrorAction
DONT_RETRY_FATAL
=
new
LoadErrorAction
(
ACTION_TYPE_DONT_RETRY_FATAL
,
C
.
TIME_UNSET
);
...
...
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