AutofillManager
- Common/All
- Android/JVM
-
Cmn
abstract class AutofillManager
Autofill API.
This interface is available to all composables via a CompositionLocal. The composable can then notify the Autofill framework that user values have been committed as required.
Summary
Public functions
cancel
abstract fun cancel(): Unit
Indicate the autofill context should be canceled.
Call this function to notify the Autofill framework that the current session should be canceled. After calling this function, the framework will stop the current autofill session without processing any information entered in the autofill-able field.
commit
abstract fun commit(): Unit
Indicate the autofill session should be committed.
Call this function to notify the Autofill framework that the current session should be committed and so the entered credentials might be saved or updated. After calling this function, the framework considers the form submitted, and any relevant dialog will appear to notify the user of the data processed.