mirror of
https://github.com/androidx/media.git
synced 2025-05-13 02:29:52 +08:00
Minor cleanup to Loader documentation
PiperOrigin-RevId: 269092322
This commit is contained in:
parent
e784d2c507
commit
73654e27da
@ -158,12 +158,12 @@ public final class Loader implements LoaderErrorThrower {
|
|||||||
/** Retries the load using the default delay and resets the error count. */
|
/** Retries the load using the default delay and resets the error count. */
|
||||||
public static final LoadErrorAction RETRY_RESET_ERROR_COUNT =
|
public static final LoadErrorAction RETRY_RESET_ERROR_COUNT =
|
||||||
createRetryAction(/* resetErrorCount= */ true, C.TIME_UNSET);
|
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 =
|
public static final LoadErrorAction DONT_RETRY =
|
||||||
new LoadErrorAction(ACTION_TYPE_DONT_RETRY, C.TIME_UNSET);
|
new LoadErrorAction(ACTION_TYPE_DONT_RETRY, C.TIME_UNSET);
|
||||||
/**
|
/**
|
||||||
* Discards the failed load. The next call to {@link #maybeThrowError()} will throw the last load
|
* Discards the failed {@link Loadable}. The next call to {@link #maybeThrowError()} will throw
|
||||||
* error.
|
* the last load error.
|
||||||
*/
|
*/
|
||||||
public static final LoadErrorAction DONT_RETRY_FATAL =
|
public static final LoadErrorAction DONT_RETRY_FATAL =
|
||||||
new LoadErrorAction(ACTION_TYPE_DONT_RETRY_FATAL, C.TIME_UNSET);
|
new LoadErrorAction(ACTION_TYPE_DONT_RETRY_FATAL, C.TIME_UNSET);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user