# SequenceableLoader.Callback

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/source/SequenceableLoader.java+class:androidx.media3.exoplayer.source.SequenceableLoader.Callback)

*** ** * ** ***


```
public interface SequenceableLoader.Callback<T extends SequenceableLoader>
```

<br />

Known direct subclasses [FakeAdaptiveMediaPeriod](https://developer.android.com/reference/androidx/media3/test/utils/FakeAdaptiveMediaPeriod), [MediaPeriod.Callback](https://developer.android.com/reference/androidx/media3/exoplayer/source/MediaPeriod.Callback)

|---|---|
| `https://developer.android.com/reference/androidx/media3/test/utils/FakeAdaptiveMediaPeriod` | Fake `https://developer.android.com/reference/androidx/media3/exoplayer/source/MediaPeriod` that provides tracks from the given `https://developer.android.com/reference/androidx/media3/exoplayer/source/TrackGroupArray`. |
| `https://developer.android.com/reference/androidx/media3/exoplayer/source/MediaPeriod.Callback` | A callback to be notified of `https://developer.android.com/reference/androidx/media3/exoplayer/source/MediaPeriod` events. |

Known indirect subclasses [ClippingMediaPeriod](https://developer.android.com/reference/androidx/media3/exoplayer/source/ClippingMediaPeriod), [MaskingMediaPeriod](https://developer.android.com/reference/androidx/media3/exoplayer/source/MaskingMediaPeriod)

|---|---|
| `https://developer.android.com/reference/androidx/media3/exoplayer/source/ClippingMediaPeriod` | Wraps a `https://developer.android.com/reference/androidx/media3/exoplayer/source/MediaPeriod` and clips its `https://developer.android.com/reference/androidx/media3/exoplayer/source/SampleStream`s to provide a subsequence of their samples. |
| `https://developer.android.com/reference/androidx/media3/exoplayer/source/MaskingMediaPeriod` | Media period that defers calling `https://developer.android.com/reference/androidx/media3/exoplayer/source/MediaSource#createPeriod(androidx.media3.exoplayer.source.MediaSource.MediaPeriodId,androidx.media3.exoplayer.upstream.Allocator,long)` on a given source until `https://developer.android.com/reference/androidx/media3/exoplayer/source/MaskingMediaPeriod#createPeriod(androidx.media3.exoplayer.source.MediaSource.MediaPeriodId)` has been called. |

*** ** * ** ***

A callback to be notified of `https://developer.android.com/reference/androidx/media3/exoplayer/source/SequenceableLoader` events.

## Summary

| ### Public methods |
|---|---|
| `abstract void` | `https://developer.android.com/reference/androidx/media3/exoplayer/source/SequenceableLoader.Callback#onContinueLoadingRequested(T)(T source)` Called by the loader to indicate that it wishes for its `https://developer.android.com/reference/androidx/media3/exoplayer/source/SequenceableLoader#continueLoading(androidx.media3.exoplayer.LoadingInfo)` method to be called when it can continue to load data. |

## Public methods

### onContinueLoadingRequested

```
abstract void onContinueLoadingRequested(T source)
```

Called by the loader to indicate that it wishes for its `https://developer.android.com/reference/androidx/media3/exoplayer/source/SequenceableLoader#continueLoading(androidx.media3.exoplayer.LoadingInfo)` method to be called when it can continue to load data. Called on the playback thread.