androidx.media3.exoplayer.source.ads


Annotations

AdsMediaSource.AdLoadException.Type

Types of ad load exceptions.

Interfaces

AdsLoader

Interface for loaders of ads, which can be used with AdsMediaSource.

AdsLoader.EventListener

Listener for ads loader events.

AdsLoader.Provider

Provides AdsLoader instances for media items that have ad tag URIs.

ServerSideAdInsertionMediaSource.AdPlaybackStateUpdater

Receives ad playback state update requests when the Timeline of the content media source has changed.

Classes

AdsMediaSource

A MediaSource that inserts ads linearly into a provided content media source.

ServerSideAdInsertionMediaSource

A MediaSource for server-side inserted ad breaks.

ServerSideAdInsertionUtil

A static utility class with methods to work with server-side inserted ads.

SinglePeriodAdTimeline

A Timeline for sources that have ads.

Exceptions

AdsMediaSource.AdLoadException

Wrapper for exceptions that occur while loading ads, which are notified via onLoadError.