Skip to content

Most visited

Recently visited

navigation
added in API level 26

android.service.autofill

Interfaces

Transformation Helper class used to change a child view of a presentation template at runtime, using the values of fields contained in the screen. 
Validator Helper class used to define whether the contents of a screen are valid. 

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
CharSequenceTransformation Replaces a TextView child of a CustomDescription with the contents of one or more regular expressions (regexs). 
CharSequenceTransformation.Builder Builder for CharSequenceTransformation objects. 
CustomDescription Defines a custom description for the Save UI affordance. 
CustomDescription.Builder Builder for CustomDescription objects. 
Dataset A dataset object represents a group of key/value pairs used to autofill parts of a screen. 
Dataset.Builder A builder for Dataset objects. 
FillCallback Handles autofill requests from the AutofillService into the Activity being autofilled. 
FillContext This class represents a context for each fill request made via onFillRequest(FillRequest, CancellationSignal, FillCallback)
FillEventHistory Describes what happened after the last onFillRequest(FillRequest, android.os.CancellationSignal, FillCallback) call. 
FillEventHistory.Event Description of an event that occured after the latest call to onSuccess(FillResponse)
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 a onFillRequest(FillRequest, android.os.CancellationSignal, FillCallback)
FillResponse.Builder Builder for FillResponse objects. 
ImageTransformation Replaces the content of a child ImageView of a presentation template with the first image that matches a regular expression (regex). 
ImageTransformation.Builder Builder for ImageTransformation objects. 
LuhnChecksumValidator Validator that returns true if the number created by concatenating all given fields pass a Luhn algorithm checksum. 
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. 
SaveInfo Information used to indicate that an AutofillService is interested on saving the user-inputed data for future use, through a onSaveRequest(SaveRequest, SaveCallback) call. 
SaveInfo.Builder A builder for SaveInfo objects. 
SaveRequest This class represents a request to an autofill provider to save applicable data entered by the user. 
Validators Factory for Validator operations. 
This site uses cookies to store your preferences for site-specific language and display options.

Get the latest Android developer news and tips that will help you find success on Google Play.

* Required Fields

Hooray!

Follow Google Developers on WeChat

Browse this site in ?

You requested a page in , but your language preference for this site is .

Would you like to change your language preference and browse this site in ? If you want to change your language preference later, use the language menu at the bottom of each page.

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.

Take a short survey?
Help us improve the Android developer experience. (Dec 2017 Android Platform & Tools Survey)