Code example for JsResult

Methods: cancel

0
						}) 
				.setNegativeButton(R.string.dialog_button_cancel, 
						new OnClickListener() {
							@Override 
							public void onClick(DialogInterface dialog, int which) {
								result.cancel();
							} 
						}) 
				.setCancelable(false) 
				.create() 
				.show(); 
			return true; 
		} 
 
		@Override 
		public void onGeolocationPermissionsShowPrompt(String origin, Callback callback) {
			callback.invoke(origin, true, true);
		} 
 
		/*@Override 
		public void onReceivedTitle(WebView view, String title) {