Interface MediaSource.MediaSourceCaller
-
- All Known Implementing Classes:
ServerSideInsertedAdsMediaSource
- Enclosing interface:
- MediaSource
public static interface MediaSource.MediaSourceCallerA caller of media sources, which will be notified of source events.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonSourceInfoRefreshed(MediaSource source, Timeline timeline)Called when theTimelinehas been refreshed.
-
-
-
Method Detail
-
onSourceInfoRefreshed
void onSourceInfoRefreshed(MediaSource source, Timeline timeline)
Called when theTimelinehas been refreshed.Called on the playback thread.
- Parameters:
source- TheMediaSourcewhose info has been refreshed.timeline- The source's timeline.
-
-