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 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. 
     * @hide 
     */ 
    public void setupAutoFill(Message msg) { }
 
}