/// <summary> /// Execute the callback function in the webpage, passing the current location. /// </summary> /// <param name="scanCode">Code or text parsed from barcode</param> public void OpenJSFunctionLocation() { string jsString = QRLocation.GenerateJavascriptString(); try { WebPageWebView.Eval(jsString); } catch (Exception) { // BarcodeScanner not available } }
/// <summary> /// Execute the callback function in the webpage, passing the current location. /// </summary> /// <param name="scanCode">Code or text parsed from barcode</param> public void OpenJSFunctionLocation() { string jsString = QRLocation.GenerateJavascriptString(); QRPage.InjectJS(jsString); }