BrowserAutofill
Public interface for accessing and configuring browser autofill functionality for a WebView instance
Types
Functions
Informs the JS layer to use the generated password and fill it into the password field(s)
Adds the native->JS interface to the given WebView This should be called once per WebView where autofill is to be available in it
Cancels any ongoing autofill operations which would show the user the prompt to choose credentials This would only normally be needed if a user-interaction happened such that showing autofill prompt would be undesirable.
Informs the JS layer that the in-context Email Protection flow has finished
Communicates with the JS layer to pass the given credentials
Informs the JS layer not to use the generated password
Removes the JS interface as a clean-up. Recommended to call from onDestroy() of Fragment/Activity containing the WebView