Code example for ValueCallback

Methods: onReceiveValue

0
     * @param capture The value of the 'capture' attribute of the input tag 
     *         associated with this file picker. 
     * @hide 
     */ 
    public void openFileChooser(ValueCallback<Uri> uploadFile, String acceptType, String capture) {
        uploadFile.onReceiveValue(null);
    } 
 
    /** 
     * Tell the client that the page being viewed is web app capable, 
     * i.e. has specified the fullscreen-web-app-capable meta tag. 
     * @hide 
     */ 
    public void setInstallableWebApp() { } 
 
    /** 
     * Tell the client that the page being viewed has an autofillable 
     * form and the user would like to set a profile up. 
     * @param msg A Message to send once the user has successfully 
     *      set up a profile and to inform the WebTextView it should 
     *      now autofill using that new profile.