Android.Service.Autofill Namespace
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides autofill services with fill and save requests, response builders, field classification results, and tools to customize the save dialog.
Classes
| Name | Description |
|---|---|
| AutofillService |
An |
| BatchUpdates |
Defines actions to be applied to a |
| BatchUpdates.Builder |
Builder for |
| BatchUpdates.InterfaceConsts |
Exposes the inherited parcelable constants for BatchUpdates. |
| CharSequenceTransformation |
Replaces a |
| CharSequenceTransformation.Builder |
Builder for |
| CharSequenceTransformation.InterfaceConsts |
Exposes the inherited parcelable constants for CharSequenceTransformation. |
| CustomDescription |
Defines a custom description for the autofill save UI. |
| CustomDescription.Builder |
Builder for |
| CustomDescription.InterfaceConsts |
Exposes the inherited parcelable constants for CustomDescription. |
| Dataset |
A |
| Dataset.Builder |
A builder for |
| Dataset.InterfaceConsts |
Exposes the inherited parcelable constants for Dataset. |
| DateTransformation |
Replaces a |
| DateTransformation.InterfaceConsts |
Exposes the inherited parcelable constants for DateTransformation. |
| DateValueSanitizer |
Sanitizes a date |
| DateValueSanitizer.InterfaceConsts |
Exposes the inherited parcelable constants for DateValueSanitizer. |
| Field |
This class is used to set all information of a field. |
| Field.Builder |
A builder for |
| FieldClassification |
Represents the field classification results for a given field. |
| FieldClassification.Match |
Represents the score of a |
| FillCallback |
|
| FillContext |
This class represents a context for each fill request made via |
| FillContext.InterfaceConsts |
Exposes the inherited parcelable constants for FillContext. |
| FillEventHistory |
Describes what happened after the last
|
| FillEventHistory.Event |
Description of an event that occurred after the latest call to
|
| FillEventHistory.InterfaceConsts |
Exposes the inherited parcelable constants for FillEventHistory. |
| FillRequest |
This class represents a request to an autofill service to interpret the screen and provide information to the system which views are interesting for saving and what are the possible ways to fill the inputs on the screen if applicable. |
| FillRequest.InterfaceConsts |
Exposes the inherited parcelable constants for FillRequest. |
| FillResponse |
Response for an |
| FillResponse.Builder |
Builder for |
| FillResponse.InterfaceConsts |
Exposes the inherited parcelable constants for FillResponse. |
| ImageTransformation |
Replaces the content of a child |
| ImageTransformation.Builder |
Builder for |
| ImageTransformation.InterfaceConsts |
Exposes the inherited parcelable constants for ImageTransformation. |
| InlinePresentation |
Wrapper class holding a |
| InlinePresentation.InterfaceConsts |
Exposes the inherited parcelable constants for InlinePresentation. |
| LuhnChecksumValidator |
Validator that returns |
| LuhnChecksumValidator.InterfaceConsts |
Exposes the inherited parcelable constants for LuhnChecksumValidator. |
| Presentations |
Holds presentations used to visualize autofill suggestions for each available UI type. |
| Presentations.Builder |
A builder for |
| RegexValidator |
Defines if a field is valid based on a regular expression (regex). |
| RegexValidator.InterfaceConsts |
Exposes the inherited parcelable constants for RegexValidator. |
| SaveCallback |
Handles save requests from the |
| SavedDatasetsInfo |
A result returned from
|
| SaveInfo |
Information used to indicate that an |
| SaveInfo.Builder |
A builder for |
| SaveInfo.InterfaceConsts |
Exposes the inherited parcelable constants for SaveInfo. |
| SaveRequest |
This class represents a request to an |
| SaveRequest.InterfaceConsts |
Exposes the inherited parcelable constants for SaveRequest. |
| TextValueSanitizer |
Sanitizes a text |
| TextValueSanitizer.InterfaceConsts |
Exposes the inherited parcelable constants for TextValueSanitizer. |
| UserData |
Defines the user data used for field classification. |
| UserData.Builder |
A builder for |
| UserData.InterfaceConsts |
Exposes the inherited parcelable constants for UserData. |
| Validators |
Factory for |
| VisibilitySetterAction |
Action used to change the visibility of other child view in a |
| VisibilitySetterAction.Builder |
Builder for |
| VisibilitySetterAction.InterfaceConsts |
Exposes the inherited parcelable constants for VisibilitySetterAction. |
Interfaces
| Name | Description |
|---|---|
| IOnClickAction |
Class used to define an action to be performed when a child view in a
|
| ISanitizer |
Helper class used to sanitize user input before using it in a save request. |
| ISavedDatasetsInfoCallback |
Handles the response to
|
| ITransformation |
Helper class used to change a child view of a |
| IValidator |
Class used to define whether a condition is satisfied. |
Enums
| Name | Description |
|---|---|
| AutofillResponseFlags |
Specifies options for an autofill response. |
| EventNoSaveUiReason |
Identifies why the autofill save dialog was not shown. |
| EventType |
Identifies the action recorded in an autofill history event. |
| EventUIType |
Identifies how suggestions were presented for an autofill history event. |
| NegativeButtonStyle |
Selects the text for the button that declines the autofill save request. |
| PositiveButtonStyle |
Selects the text for the button that accepts the autofill save request. |
| SaveDataType |
Specifies the kinds of data described by an autofill save request. |
| SavedDatasetsErrorCode |
Identifies why a service could not report its saved dataset counts. |
| SaveFlags |
Specifies options that control when an autofill save request is triggered. |