Lines Matching defs:item
63 * Playback of the current playing media item will be repeated.
277 * Returns currently playing media item.
282 * Adds the media item to the playlist at position index. Index equals or greater than
283 * the current playlist size (e.g. {@link Integer#MAX_VALUE}) will add the item at the end of
286 * This will not change the currently playing media item.
291 * @param item the media item you want to add
293 public abstract void addPlaylistItem(int index, @NonNull MediaItem2 item);
296 * Removes the media item from the playlist
298 * @param item media item to remove
300 public abstract void removePlaylistItem(@NonNull MediaItem2 item);
303 * Replace the media item at index in the playlist. This can be also used to update metadata of
304 * an item.
306 * @param index the index of the item to replace
307 * @param item the new item
309 public abstract void replacePlaylistItem(int index, @NonNull MediaItem2 item);
312 * Skips to the the media item, and plays from it.
314 * @param item media item to start playing from
316 public abstract void skipToPlaylistItem(@NonNull MediaItem2 item);
319 * Skips to the previous item in the playlist.
324 * Skips to the next item in the playlist.
403 MediaItem2 item = itemList.get(i);
404 if (item != null && item.getDataSourceDesc().equals(dsd)) {
405 return item;