docs/doc/reference/com/google/android/exoplayer2/source/ads/package-summary.html
Interface Summary | Interface | Description |
| --- | --- |
| AdsLoader | Deprecated.
com.google.android.exoplayer2 is deprecated.
|
| 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.
|
Class Summary | Class | Description | | --- | --- | | AdPlaybackState | Deprecated. com.google.android.exoplayer2 is deprecated. | | AdPlaybackState.AdGroup | Represents a group of ads, with information about their states. | | AdsMediaSource | Deprecated. com.google.android.exoplayer2 is deprecated. | | ServerSideAdInsertionMediaSource | Deprecated. com.google.android.exoplayer2 is deprecated. | | ServerSideAdInsertionUtil | Deprecated. com.google.android.exoplayer2 is deprecated. | | SinglePeriodAdTimeline | Deprecated. com.google.android.exoplayer2 is deprecated. |
Exception Summary | Exception | Description |
| --- | --- |
| AdsMediaSource.AdLoadException |
Wrapper for exceptions that occur while loading ads, which are notified via MediaSourceEventListener.onLoadError(int, MediaPeriodId, LoadEventInfo, MediaLoadData, IOException, boolean).
|
Annotation Types Summary | Annotation Type | Description | | --- | --- | | AdPlaybackState.AdState | Represents the state of an ad in an ad group. | | AdsMediaSource.AdLoadException.Type | Types of ad load exceptions. |