@Override public boolean isPlaying() { if (musicSrv != null && musicBound) { return musicSrv.isPng(); } return false; }
@Override public boolean isPlaying() { if (musicService != null && musicBound) { return musicService.isPng(); } else { return false; } }
@Override public int getCurrentPosition() { if (musicService != null && musicBound && musicService.isPng()) { return musicService.getPosn(); } else { return 0; } }
@Override public int getDuration() { if (musicService != null && musicBound && musicService.isPng()) { return musicService.getDur(); } else { return 0; } }
@Override public int getDuration() { if (musicSrv != null && musicBound && musicSrv.isPng()) return musicSrv.getDur(); else return 0; }
@Override public int getCurrentPosition() { if (musicSrv != null && musicBound && musicSrv.isPng()) return musicSrv.getPosn(); else return 0; }