android.service.autofill


Interfaces

OnClickAction

Class used to define an action to be performed when a child view in a presentation is clicked.

Sanitizer

Helper class used to sanitize user input before using it in a save request.

SavedDatasetsInfoCallback

Handles the response to AutofillService.onSavedDatasetsInfoRequest(SavedDatasetsInfoCallback).

Transformation

Helper class used to change a child view of a presentation at runtime, using the values of fields contained in the screen.

Validator

Class used to define whether a condition is satisfied.

Classes

AutofillService

An AutofillService is a service used to automatically fill the contents of the screen on behalf of a given user - for more information about autofill, read Autofill Framework.

BatchUpdates

Defines actions to be applied to a template presentation.

CharSequenceTransformation

Replaces a TextView child of a CustomDescription with the contents of one or more regular expressions (regexs).

CustomDescription

Defines a custom description for the autofill save UI.

Dataset

A Dataset object represents a group of fields (key / value pairs) used to autofill parts of a screen.

DateTransformation

Replaces a TextView child of a CustomDescription with the contents of a field that is expected to have a date value.

DateValueSanitizer

Sanitizes a date AutofillValue using a DateFormat.

Field

This class is used to set all information of a field.

FieldClassification

Represents the field classification results for a given field.

FillCallback

FillCallback handles autofill requests from the AutofillService into the Activity being autofilled.

FillContext

This class represents a context for each fill request made via android.service.autofill.AutofillService#onFillRequest(android.service.autofill.FillRequest,android.os.CancellationSignal,android.service.autofill.FillCallback).

FillEventHistory

Describes what happened after the last AutofillService.onFillRequest(FillRequest, android.os.CancellationSignal, FillCallback) call.

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.

FillResponse

Response for an android.service.autofill.AutofillService#onFillRequest(android.service.autofill.FillRequest,android.os.CancellationSignal,android.service.autofill.FillCallback).

ImageTransformation

Replaces the content of a child ImageView of a presentation template with the first image that matches a regular expression (regex).

InlinePresentation

Wrapper class holding a Slice and an InlinePresentationSpec for rendering UI for an Inline Suggestion.

LuhnChecksumValidator

Validator that returns true if the number created by concatenating all given fields pass a Luhn algorithm checksum.

Presentations

Holds presentations used to visualize autofill suggestions for each available UI type.

RegexValidator

Defines if a field is valid based on a regular expression (regex).

SaveCallback

Handles save requests from the AutofillService into the Activity being autofilled.

SavedDatasetsInfo

A result returned from AutofillService.onSavedDatasetsInfoRequest(SavedDatasetsInfoCallback).

SaveInfo

Information used to indicate that an AutofillService is interested on saving the user-inputed data for future use, through a AutofillService.onSaveRequest(SaveRequest, SaveCallback) call.

SaveRequest

This class represents a request to an autofill provider to save applicable data entered by the user.

TextValueSanitizer

Sanitizes a text AutofillValue using a regular expression (regex) substitution.

UserData

Defines the user data used for field classification.

Validators

Factory for Validator operations.

VisibilitySetterAction

Action used to change the visibility of other child view in a CustomDescription presentation template.