Package com.google.android.exoplayer2.source.ads
-
Interface Summary Interface Description AdsLoader Interface for loaders of ads, which can be used withAdsMediaSource.AdsLoader.EventListener Listener for ads loader events.AdsLoader.Provider ProvidesAdsLoaderinstances for media items that havead tag URIs.ServerSideAdInsertionMediaSource.AdPlaybackStateUpdater Receives ad playback state update requests when theTimelineof the content media source has changed. -
Class Summary Class Description AdPlaybackState Represents ad group times 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 AMediaSourcethat inserts ads linearly into a provided content media source.ServerSideAdInsertionMediaSource AMediaSourcefor server-side inserted ad breaks.ServerSideAdInsertionUtil A static utility class with methods to work with server-side inserted ads.SinglePeriodAdTimeline ATimelinefor sources that have ads. -
Exception Summary Exception Description AdsMediaSource.AdLoadException Wrapper for exceptions that occur while loading ads, which are notified viaMediaSourceEventListener.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.