Code example for MediaPlayer

Methods: getCurrentPosition

0
	public int getBufferPercentage() { 
		return 0; 
	} 
 
	public int getCurrentPosition() { 
		return mediaPlayer.getCurrentPosition();
	} 
 
	public int getDuration() { 
		return mediaPlayer.getDuration();
	} 
 
	public boolean isPlaying() { 
		return mediaPlayer.isPlaying();
	} 
 
	public void pause() { 
		mediaPlayer.pause();
	} 
 
	public void seekTo(int pos) {