Code example for MediaPlayer

Methods: getDuration

0
	public long getCurrentPositionInMedia() { 
		return mediaPlayer.getCurrentPosition();
	} 
 
	public long getMediaDuration() { 
		return mediaPlayer.getDuration();
	} 
 
} 
Stop searching for code, let great code find you!  Add Codota to your java IDE