BrowserAutofill

interface BrowserAutofill

Public interface for accessing and configuring browser autofill functionality for a WebView instance

Functions

Link copied to clipboard
abstract suspend fun addJsInterface(webView: WebView, autofillCallback: Callback, tabId: String)

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.

Link copied to clipboard
abstract fun notifyPageChanged()

Notifies that there has been a change in web page, and the autofill state should be re-evaluated