| Interface | Description |
|---|---|
| AdsLoader |
Interface for loaders of ads, which can be used with
AdsMediaSource. |
| AdsLoader.EventListener |
Listener for ad loader events.
|
| AdsMediaSource.EventListener |
Listener for ads media source events.
|
| AdsMediaSource.MediaSourceFactory |
Factory for creating
MediaSources to play ad media. |
| Class | Description |
|---|---|
| AdPlaybackState |
Represents ad group times relative to the start of the media and information on the state and
URIs of ads within each ad group.
|
| AdPlaybackState.AdGroup |
Represents a group of ads, with information about their states.
|
| AdsMediaSource |
A
MediaSource that inserts ads linearly with a provided content media source. |
| Annotation Type | Description |
|---|---|
| AdPlaybackState.AdState |
Represents the state of an ad in an ad group.
|