-
Notifications
You must be signed in to change notification settings - Fork 6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signal an ads identifier to the AdsLoader
In a later change, the AdPlaybackState will include the playing adsId (set by the AdsLoader) and the ads loader will use this to determine what ad information is associated with the playing/next periods, to allow loading ads in playlists. Apps can continue to pass just a URI for an ad tag with their MediaItem, in which case the associated playlist will request that ad tag just and the same state will be used for all occurrences of the ad tag. This change has breaking changes to the AdsLoader interface and removes deprecated ways of passing the ad tag, as it's very likely to go into a major release anyway and not needing to handle the deprecated cases simplifies ImaAdsLoader. Issue: #3750 PiperOrigin-RevId: 340438580
- Loading branch information
1 parent
f937e40
commit 5fd1601
Showing
15 changed files
with
334 additions
and
330 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.