예제 #1
0
  public void playModel(FModel model) throws Exception {
    if (model == null) {
      throw new IllegalArgumentException();
    }
    instanse.stop();

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