Commit ca41026c by Marc Baechinger

Merge pull request #157 from vanniktech:onAddMediaItems-example

PiperOrigin-RevId: 469410221
parents a62cf312 31e69d2d
......@@ -995,6 +995,11 @@ public class MediaSession {
* playlist via one of the {@code Player.addMediaItem(s)} or {@code Player.setMediaItem(s)}
* methods.
*
* <p>This callback is also called when an app is using a legacy {@link
* MediaControllerCompat.TransportControls} to prepare or play media (for instance when browsing
* the catalogue and then selecting an item for preparation from Android Auto that is using the
* legacy Media1 library).
*
* <p>Note that the requested {@linkplain MediaItem media items} don't have a {@link
* MediaItem.LocalConfiguration} (for example, a URI) and need to be updated to make them
* playable by the underlying {@link Player}. Typically, this implementation should be able to
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment