AutofillFragmentResultsPlugin

A PluginPoint for autofill dialog result handlers

This ties into the fragment result API, and allows plugins to handle the result of a fragment For a fragment and its result handler to be associated, they must communicate using the same resultKey

Functions

Link copied to clipboard
abstract fun processResult(result: Bundle, context: Context, tabId: String, fragment: Fragment, autofillCallback: AutofillEventListener)

Called when the result handler has a result to process Will be invoked on the main thread.

Link copied to clipboard
abstract fun resultKey(tabId: String): String

A unique key that will match the result key a fragment specifies when returning a result The tabId is provided to allow plugins to only handle results for a specific tab