Commit 7c995a3c by bachinger Committed by Oliver Woodman

Fix javaDoc of onMediaItemTransition

PiperOrigin-RevId: 322145517
parent df1536ab
...@@ -471,9 +471,13 @@ public interface Player { ...@@ -471,9 +471,13 @@ public interface Player {
Timeline timeline, @Nullable Object manifest, @TimelineChangeReason int reason) {} Timeline timeline, @Nullable Object manifest, @TimelineChangeReason int reason) {}
/** /**
* Called when playback transitions to a different media item. * Called when playback transitions to a media item or starts repeating a media item according
* to the current {@link #getRepeatMode() repeat mode}.
* *
* @param mediaItem The {@link MediaItem}. May be null if the timeline becomes empty. * <p>Note that this callback is also called when the playlist becomes non-empty or empty as a
* consequence of a playlist change.
*
* @param mediaItem The {@link MediaItem}. May be null if the playlist becomes empty.
* @param reason The reason for the transition. * @param reason The reason for the transition.
*/ */
default void onMediaItemTransition( default void onMediaItemTransition(
......
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