跳转到相应内容

最常访问

最近访问

navigation
added in API level 26

android.service.autofill

Interfaces

Sanitizer Helper class used to sanitize user input before using it in a save request. 
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 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
BatchUpdates.Builder Builder for BatchUpdates objects. 
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 autofill save UI. 
CustomDescription.Builder Builder for CustomDescription objects. 
Dataset A dataset object represents a group of fields (key / value pairs) used to autofill parts of a screen. 
Dataset.Builder A builder for Dataset objects. 
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
FieldClassification Represents the field classification results for a given field. 
FieldClassification.Match Represents the score of a UserData entry for the field. 
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 an 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. 
TextValueSanitizer Sanitizes a text AutofillValue using a regular expression (regex) substitution. 
UserData Defines the user data used for field classification
UserData.Builder A builder for UserData objects. 
Validators Factory for Validator operations. 
此网站会使用 Cookie 来存储您在此网站上指定的语言和显示选项偏好设置。

获取最新的 Android Developers 资讯和提示,助您在 Google Play 上取得成功。

* 必填字段

成功!

在微信上关注 Google Developers

要以浏览此网站吗?

您请求访问的是网页,但是您为此网站设置的语言偏好为

要更改您的语言偏好设置并以浏览此网站吗?如果以后您想要更改语言偏好设置,请使用每个页面底部的语言菜单。

该类需要 或更高的 API 级别

此文档已被隐藏,因为您为该文档选择的 API 级别是 。您可以使用左侧导航栏上方的选择器来更改文档的 API 级别。

要详细了解如何根据您的应用需求指定 API 级别,请参阅支持不同平台版本

Take a short survey?
Help us improve the Android developer experience. (April 2018 — Developer Survey)