Code example for VideoView

Methods: isPlayingstart

1
	} 
	 
	//----------------------------------------------------------------// 
	public void startPlayback () { 
		 
		if ( mVideoView.isPlaying ()) {
 
			mVideoView.resume ();
		} else { 
 
			mVideoView.start ();
		} 
	} 
	 
	//----------------------------------------------------------------// 
	public void pausePlayback () { 
		 
		mVideoView.pause ();
	} 
 
Experience pair programming with AI  Get Codota for Java