public interface

MediaSource.MediaSourceCaller

 androidx.media3.exoplayer.source.MediaSource.MediaSourceCaller

Subclasses:

ServerSideAdInsertionMediaSource

Overview

A caller of media sources, which will be notified of source events.

Summary

Methods
public voidonSourceInfoRefreshed(MediaSource source, Timeline timeline)

Called when the Timeline has been refreshed.

Methods

public void onSourceInfoRefreshed(MediaSource source, Timeline timeline)

Called when the Timeline has been refreshed.

Called on the playback thread.

Parameters:

source: The MediaSource whose info has been refreshed.
timeline: The source's timeline.