# Loader.ReleaseCallback

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.ReleaseCallback)

*** ** * ** ***


```
public interface Loader.ReleaseCallback
```

<br />

Known direct subclasses [ChunkSampleStream](https://developer.android.com/reference/androidx/media3/exoplayer/source/chunk/ChunkSampleStream)

|---|---|
| `https://developer.android.com/reference/androidx/media3/exoplayer/source/chunk/ChunkSampleStream` | A `https://developer.android.com/reference/androidx/media3/exoplayer/source/SampleStream` that loads media in `https://developer.android.com/reference/androidx/media3/exoplayer/source/chunk/Chunk`s, obtained from a `https://developer.android.com/reference/androidx/media3/exoplayer/source/chunk/ChunkSource`. |

*** ** * ** ***

A callback to be notified when a `https://developer.android.com/reference/androidx/media3/exoplayer/upstream/Loader` has finished being released.

## Summary

| ### Public methods |
|---|---|
| `abstract void` | `https://developer.android.com/reference/androidx/media3/exoplayer/upstream/Loader.ReleaseCallback#onLoaderReleased()()` Called when the `https://developer.android.com/reference/androidx/media3/exoplayer/upstream/Loader` has finished being released. |

## Public methods

### onLoaderReleased

```
abstract void onLoaderReleased()
```

Called when the `https://developer.android.com/reference/androidx/media3/exoplayer/upstream/Loader` has finished being released.