Code example for MediaPlayer

Methods: isLooping

0
	} 
 
	public boolean isLooping() { 
		// valid in any other state 
		if (_state != RELEASED) {
			return _mediaPlayer.isLooping();
		} 
		return false; 
	} 
 
	public boolean isPlaying() { 
		return _state == PLAYING;
	} 
	 
	public void setVolume(float volume) {
		// valid in any other state 
		if (_state != RELEASED) {
			_mediaPlayer.setVolume(volume, volume);
		} 
	}