예제 #1
0
  public void playSongList(List<Song> songs, int pos) {

    if (musicPlayService != null) {
      musicPlayService.playSongList(songs, pos, true);
    } else {
      Log.e(TAG, "mBinder == null");
    }
  }
예제 #2
0
 public void setRandplayerOn() {
   if (musicPlayService != null) {
     musicPlayService.setRandPlayerOn();
   }
 }
예제 #3
0
 public void setListplayerOn() {
   if (musicPlayService != null) {
     musicPlayService.setListPlayerOn();
   }
 }
예제 #4
0
 public List<Song> getCurrentList() {
   if (musicPlayService != null) {
     return musicPlayService.getCurrentList();
   }
   return Collections.EMPTY_LIST;
 }
예제 #5
0
 public Song getCurrentSong() {
   if (musicPlayService != null) {
     return musicPlayService.getCurrentSong();
   }
   return null;
 }
예제 #6
0
 public void seekTo(long newPosition) {
   if (musicPlayService != null) {
     musicPlayService.seekTo(newPosition);
   }
 }
예제 #7
0
 public void playorPause() {
   if (musicPlayService != null) {
     musicPlayService.playOrPause();
   }
 }
예제 #8
0
 public int getDuartion() {
   if (musicPlayService != null) {
     return musicPlayService.getDuartion();
   }
   return 0;
 }
예제 #9
0
 public void playNext() {
   if (musicPlayService != null) {
     musicPlayService.playNext();
   }
 }
예제 #10
0
 public void playCurrent() {
   if (musicPlayService != null) {
     musicPlayService.playCurrent();
   }
 }
예제 #11
0
 public void movePre() {
   if (musicPlayService != null) {
     musicPlayService.movePrev();
   }
 }
예제 #12
0
 public void moveNext() {
   if (musicPlayService != null) {
     musicPlayService.moveNext();
   }
 }
예제 #13
0
 public void reset() {
   if (musicPlayService != null) {
     musicPlayService.reset();
   }
 }
예제 #14
0
 public void pause() {
   if (musicPlayService != null) {
     musicPlayService.pause();
   }
 }
예제 #15
0
 public void start() {
   if (musicPlayService != null) {
     musicPlayService.start();
   }
 }
예제 #16
0
 public boolean isRandPlayerOn() {
   if (musicPlayService != null) {
     return musicPlayService.isRandPlayerOn();
   }
   return false;
 }
예제 #17
0
 public void setVolumeDown() {
   if (musicPlayService != null) {
     musicPlayService.setVolumeDown();
   }
 }
예제 #18
0
 public void playPre() {
   if (musicPlayService != null) {
     musicPlayService.playPrev();
   }
 }
예제 #19
0
 public boolean isReady() {
   if (musicPlayService != null) {
     return musicPlayService.isReady();
   }
   return false;
 }
예제 #20
0
 public int getCurrntPos() {
   if (musicPlayService != null) {
     return musicPlayService.getCurrentPos();
   }
   return 0;
 }