Code example for MediaPlayer

Methods: isLoopingsetLooping

0
		} 
	} 
 
	@Override 
	public void setLooping(boolean looping) {
		mediaPlayer.setLooping(isLooping());
	} 
 
	@Override 
	public void setVolume(float volume) {
		mediaPlayer.setVolume(volume, volume);
	} 
 
	@Override 
	public boolean isPlaying() { 
		return mediaPlayer.isPlaying();
	} 
 
	@Override 
	public boolean isStopped() { 
		return !isPrepared;
	} 
 
	@Override 
	public boolean isLooping() { 
		return mediaPlayer.isLooping();
	} 
 
	@Override 
	public void dispose() { 
		if(mediaPlayer.isPlaying()){