public void playModel(FModel model) throws Exception { if (model == null) { throw new IllegalArgumentException(); } instanse.stop(); String path = model.getPath(); instanse.play(path); }
@Override public void seekTo(int pos) { instanse.seekTo(pos); }
@Override public int getBuffering() { return instanse.getBuffering(); }
@Override public int getCurrentPosition() { return instanse.getCurrentPosition(); }
@Override public int getDuration() { return instanse.getDuration(); }
@Override public boolean isPlaying() { return instanse.isPlaying(); }
@Override public void play() { instanse.play(); }
public void stop() { instanse.stop(); }
@Override public void pause() { instanse.pause(); }