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

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