Commit 31e69d2d by Niklas Baudy

MediaSession.Callback: Document an example when onAddMediaItems is called.

parent fe0cf052
......@@ -993,7 +993,7 @@ public class MediaSession {
/**
* Called when a controller requested to add new {@linkplain MediaItem media items} to the
* playlist via one of the {@code Player.addMediaItem(s)} or {@code Player.setMediaItem(s)}
* methods.
* methods. For instance when selecting an item on Android Auto, which should then be played.
*
* <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
......
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