Code example for MediaPlayer

Methods: getCurrentPosition

0
		return mediaPlayer.getDuration();
	} 
 
	@Override 
	public int getCurrentPosition() { 
		return mediaPlayer.getCurrentPosition();
	} 
 
	@Override 
	public int getBufferPercentage() { 
		return 0; 
	} 
 
	@Override 
	public boolean canSeekForward() { 
		return true; 
	} 
 
	@Override 
	public boolean canSeekBackward() { 
		return true;