Back to Exoplayer

SequenceableLoader.Callback (ExoPlayer library)

docs/doc/reference/com/google/android/exoplayer2/source/SequenceableLoader.Callback.html

latest1.7 KB
Original Source

Package com.google.android.exoplayer2.source

Interface SequenceableLoader.Callback<T extends SequenceableLoader>

  • All Known Subinterfaces:MediaPeriod.CallbackAll Known Implementing Classes:ClippingMediaPeriod, FakeAdaptiveMediaPeriod, MaskingMediaPeriodEnclosing interface:SequenceableLoader

public static interfaceSequenceableLoader.Callback\<T extends [SequenceableLoader](SequenceableLoader.html "interface in com.google.android.exoplayer2.source")\>

A callback to be notified of SequenceableLoader events.

Method Summary

All Methods Instance Methods Abstract Methods | Modifier and Type | Method | Description | | --- | --- | --- | | void | onContinueLoadingRequested​(T source) | Called by the loader to indicate that it wishes for its SequenceableLoader.continueLoading(long) method to be called when it can continue to load data. |

Method Detail

- 

onContinueLoadingRequested

void onContinueLoadingRequested​([T](SequenceableLoader.Callback.html "type parameter in SequenceableLoader.Callback")source)

Called by the loader to indicate that it wishes for its SequenceableLoader.continueLoading(long) method to be called when it can continue to load data. Called on the playback thread.