mirror of
https://github.com/androidx/media.git
synced 2025-05-12 01:59:50 +08:00
Remove IntRange from Player.getMediaItemAt
No other index-related methods in Player are annotated, it's considered obvious that these should be >=0. PiperOrigin-RevId: 405882756
This commit is contained in:
parent
09c6ccfb66
commit
3ef7b70c29
@ -2155,7 +2155,7 @@ public interface Player {
|
|||||||
int getMediaItemCount();
|
int getMediaItemCount();
|
||||||
|
|
||||||
/** Returns the {@link MediaItem} at the given index. */
|
/** Returns the {@link MediaItem} at the given index. */
|
||||||
MediaItem getMediaItemAt(@IntRange(from = 0) int index);
|
MediaItem getMediaItemAt(int index);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the duration of the current content or ad in milliseconds, or {@link C#TIME_UNSET} if
|
* Returns the duration of the current content or ad in milliseconds, or {@link C#TIME_UNSET} if
|
||||||
|
Loading…
x
Reference in New Issue
Block a user