package

androidx.media3.exoplayer.source.ads

Interfaces

AdsLoaderInterface for loaders of ads, which can be used with AdsMediaSource.
AdsLoader.EventListenerListener for ads loader events.
AdsLoader.ProviderProvides AdsLoader instances for media items that have .
ServerSideAdInsertionMediaSource.AdPlaybackStateUpdaterReceives ad playback state update requests when the Timeline of the content media source has changed.

Classes

AdsMediaSourceA MediaSource that inserts ads linearly into a provided content media source.
ServerSideAdInsertionMediaSourceA MediaSource for server-side inserted ad breaks.
ServerSideAdInsertionUtilA static utility class with methods to work with server-side inserted ads.
SinglePeriodAdTimelineA Timeline for sources that have ads.

Annotation Types

AdsMediaSource.AdLoadException.TypeTypes of ad load exceptions.