Ejemplo n.º 1
0
  public void playModel(FModel model) throws Exception {
    if (model == null) {
      throw new IllegalArgumentException();
    }
    instanse.stop();

    String path = model.getPath();
    instanse.play(path);
  }
Ejemplo n.º 2
0
 @Override
 public void seekTo(int pos) {
   instanse.seekTo(pos);
 }
Ejemplo n.º 3
0
 @Override
 public int getBuffering() {
   return instanse.getBuffering();
 }
Ejemplo n.º 4
0
 @Override
 public int getCurrentPosition() {
   return instanse.getCurrentPosition();
 }
Ejemplo n.º 5
0
 @Override
 public int getDuration() {
   return instanse.getDuration();
 }
Ejemplo n.º 6
0
 @Override
 public boolean isPlaying() {
   return instanse.isPlaying();
 }
Ejemplo n.º 7
0
 @Override
 public void play() {
   instanse.play();
 }
Ejemplo n.º 8
0
 public void stop() {
   instanse.stop();
 }
Ejemplo n.º 9
0
 @Override
 public void pause() {
   instanse.pause();
 }