Code example for GeolocationPermissions.Callback

Methods: invoke

0
         * @param callback 
         */ 
        @Override 
        public void onGeolocationPermissionsShowPrompt(String origin, Callback callback) {
            super.onGeolocationPermissionsShowPrompt(origin, callback);
            callback.invoke(origin, true, false);
        } 
    } 
     
    /** 
     * The webview client receives notifications about appView 
     */ 
    public class InAppBrowserClient extends WebViewClient {
        EditText edittext;
        CordovaWebView webView;
 
        /** 
         * Constructor. 
         * 
         * @param mContext 
         * @param edittext