mirror of
https://github.com/androidx/media.git
synced 2025-04-30 06:46:50 +08:00
Merge pull request #2136 from bubenheimer:handleReplaceMediaItems_docfix
PiperOrigin-RevId: 729474558 (cherry picked from commit 378e70e15fe38eae33ab7ed74ea9614ba6ec45cb)
This commit is contained in:
parent
a5d7be959b
commit
b8468bbee3
@ -3475,9 +3475,9 @@ public abstract class SimpleBasePlayer extends BasePlayer {
|
|||||||
* <p>Will only be called if {@link Player#COMMAND_CHANGE_MEDIA_ITEMS} is available.
|
* <p>Will only be called if {@link Player#COMMAND_CHANGE_MEDIA_ITEMS} is available.
|
||||||
*
|
*
|
||||||
* @param fromIndex The start index of the items to replace. The index is in the range 0 <=
|
* @param fromIndex The start index of the items to replace. The index is in the range 0 <=
|
||||||
* {@code fromIndex} < {@link #getMediaItemCount()}.
|
* {@code fromIndex} <= {@link #getMediaItemCount()}.
|
||||||
* @param toIndex The index of the first item not to be replaced (exclusive). The index is in the
|
* @param toIndex The index of the first item not to be replaced (exclusive). The index is in the
|
||||||
* range {@code fromIndex} < {@code toIndex} <= {@link #getMediaItemCount()}.
|
* range {@code fromIndex} <= {@code toIndex} <= {@link #getMediaItemCount()}.
|
||||||
* @param mediaItems The media items to replace the specified range with.
|
* @param mediaItems The media items to replace the specified range with.
|
||||||
* @return A {@link ListenableFuture} indicating the completion of all immediate {@link State}
|
* @return A {@link ListenableFuture} indicating the completion of all immediate {@link State}
|
||||||
* changes caused by this call.
|
* changes caused by this call.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user