public void playSongList(List<Song> songs, int pos) { if (musicPlayService != null) { musicPlayService.playSongList(songs, pos, true); } else { Log.e(TAG, "mBinder == null"); } }
public void setRandplayerOn() { if (musicPlayService != null) { musicPlayService.setRandPlayerOn(); } }
public void setListplayerOn() { if (musicPlayService != null) { musicPlayService.setListPlayerOn(); } }
public List<Song> getCurrentList() { if (musicPlayService != null) { return musicPlayService.getCurrentList(); } return Collections.EMPTY_LIST; }
public Song getCurrentSong() { if (musicPlayService != null) { return musicPlayService.getCurrentSong(); } return null; }
public void seekTo(long newPosition) { if (musicPlayService != null) { musicPlayService.seekTo(newPosition); } }
public void playorPause() { if (musicPlayService != null) { musicPlayService.playOrPause(); } }
public int getDuartion() { if (musicPlayService != null) { return musicPlayService.getDuartion(); } return 0; }
public void playNext() { if (musicPlayService != null) { musicPlayService.playNext(); } }
public void playCurrent() { if (musicPlayService != null) { musicPlayService.playCurrent(); } }
public void movePre() { if (musicPlayService != null) { musicPlayService.movePrev(); } }
public void moveNext() { if (musicPlayService != null) { musicPlayService.moveNext(); } }
public void reset() { if (musicPlayService != null) { musicPlayService.reset(); } }
public void pause() { if (musicPlayService != null) { musicPlayService.pause(); } }
public void start() { if (musicPlayService != null) { musicPlayService.start(); } }
public boolean isRandPlayerOn() { if (musicPlayService != null) { return musicPlayService.isRandPlayerOn(); } return false; }
public void setVolumeDown() { if (musicPlayService != null) { musicPlayService.setVolumeDown(); } }
public void playPre() { if (musicPlayService != null) { musicPlayService.playPrev(); } }
public boolean isReady() { if (musicPlayService != null) { return musicPlayService.isReady(); } return false; }
public int getCurrntPos() { if (musicPlayService != null) { return musicPlayService.getCurrentPos(); } return 0; }