Code example for JsResult

Methods: cancel

0
		{ 
			if (mOnAlertListener != null)
			{ 
				if (mOnAlertListener.onAlert(message, url))
				{ 
					result.cancel();
					return true; 
				} 
			} 
 
			return super.onJsAlert(view, url, message, result);
		} 
	} 
 
	/** 
	 * @brief The interface for page load 
	 */ 
	public interface OnPageLoadListener 
	{ 
		/** 
		 * Called when the page has been loaded