# Loader.LoadErrorAction

# Loader.LoadErrorAction

Artifact:[androidx.media3:media3-exoplayer](https://developer.android.com/jetpack/androidx/releases/media3)  
[View Source](https://cs.android.com/search?q=file:androidx/media3/exoplayer/upstream/Loader.java+class:androidx.media3.exoplayer.upstream.Loader.LoadErrorAction)

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/androidx/media3/exoplayer/upstream/Loader.LoadErrorAction "View this page in Java")

<br />

```
class Loader.LoadErrorAction
```

<br />

*** ** * ** ***

Action that can be taken in response to[onLoadError](https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/upstream/Loader.Callback#onLoadError(T,long,long,java.io.IOException,int)).

## Summary

|                                ### Public functions                                 |
|-------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html) | [isRetry](https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/upstream/Loader.LoadErrorAction#isRetry())`()` Returns whether this is a retry action. |

## Public functions

### isRetry

```
fun isRetry(): Boolean
```

Returns whether this is a retry action.