AutofillEventListener

Autofill event listener interface. Used to communicate key events from Autofill back to the app.

Functions

Link copied to clipboard
abstract fun onAutofillStateChange()

Called when a change was detected in the autofill state, such that reloading the page may be necessary.

Link copied to clipboard
abstract fun onSavedCredentials(credentials: LoginCredentials)

Called when a login credential was saved. This API could be used to show visual confirmation to the user.

Called when user chooses to sign up for in-context email protection.

Link copied to clipboard
abstract fun onUpdatedCredentials(credentials: LoginCredentials)

Called when a login credential was updated. This API could be used to show visual confirmation to the user.