Exemplo n.º 1
0
 @Override
 public void playPrevious() throws PlayException {
   if (engine instanceof PlaylistSupport) {
     ((PlaylistSupport) engine).playPrevious();
   }
 }
Exemplo n.º 2
0
 @Override
 public void clearPlaylist() {
   if (engine instanceof PlaylistSupport) {
     ((PlaylistSupport) engine).clearPlaylist();
   }
 }
Exemplo n.º 3
0
 @Override
 public void play(int index) throws IndexOutOfBoundsException {
   if (engine instanceof PlaylistSupport) {
     ((PlaylistSupport) engine).play(index);
   }
 }
Exemplo n.º 4
0
 @Override
 public void removeFromPlaylist(int index) {
   if (engine instanceof PlaylistSupport) {
     ((PlaylistSupport) engine).removeFromPlaylist(index);
   }
 }
Exemplo n.º 5
0
 @Override
 public void setShuffleEnabled(boolean enable) {
   if (engine instanceof PlaylistSupport) {
     ((PlaylistSupport) engine).setShuffleEnabled(enable);
   }
 }
Exemplo n.º 6
0
 @Override
 public void reorderPlaylist(int from, int to) {
   if (engine instanceof PlaylistSupport) {
     ((PlaylistSupport) engine).reorderPlaylist(from, to);
   }
 }
Exemplo n.º 7
0
 @Override
 public void insertIntoPlaylist(int index, String... mediaURLs) {
   if (engine instanceof PlaylistSupport) {
     ((PlaylistSupport) engine).insertIntoPlaylist(index, mediaURLs);
   }
 }
Exemplo n.º 8
0
 @Override
 public void insertIntoPlaylist(int index, MRL mediaLocator) {
   if (engine instanceof PlaylistSupport) {
     ((PlaylistSupport) engine).insertIntoPlaylist(index, mediaLocator);
   }
 }
Exemplo n.º 9
0
 @Override
 public void addToPlaylist(List<MRL> mediaLocators) {
   if (engine instanceof PlaylistSupport) {
     ((PlaylistSupport) engine).addToPlaylist(mediaLocators);
   }
 }
Exemplo n.º 10
0
 @Override
 public void addToPlaylist(String... mediaURLs) {
   if (engine instanceof PlaylistSupport) {
     ((PlaylistSupport) engine).addToPlaylist(mediaURLs);
   }
 }