Interface Summary Interface Description AdsLoaderInterface for loaders of ads, which can be used with
AdsLoader.EventListenerListener for ads loader events. AdsLoader.Provider ServerSideAdInsertionMediaSource.AdPlaybackStateUpdaterReceives ad playback state update requests when the
Timelineof the content media source has changed.
Class Summary Class Description AdPlaybackStateRepresents ad group times and information on the state and URIs of ads within each ad group. AdPlaybackState.AdGroupRepresents a group of ads, with information about their states. AdsMediaSourceA
MediaSourcethat inserts ads linearly into a provided content media source.
MediaSourcefor server-side inserted ad breaks.
ServerSideAdInsertionUtilA static utility class with methods to work with server-side inserted ads. SinglePeriodAdTimelineA
Timelinefor sources that have ads.
Exception Summary Exception Description AdsMediaSource.AdLoadExceptionWrapper 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.AdStateRepresents the state of an ad in an ad group. AdsMediaSource.AdLoadException.TypeTypes of ad load exceptions.