共用方式為


Android.Service.Autofill Namespace

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 RemoteViews template presentation.

BatchUpdates.Builder

Builder for BatchUpdates objects.

BatchUpdates.InterfaceConsts
CharSequenceTransformation

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

CharSequenceTransformation.Builder

Builder for CharSequenceTransformation objects.

CharSequenceTransformation.InterfaceConsts
CustomDescription

Defines a custom description for the autofill save UI.

CustomDescription.Builder

Builder for CustomDescription objects.

CustomDescription.InterfaceConsts
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.

Dataset.InterfaceConsts
DateTransformation

Replaces a TextView child of a CustomDescription with the contents of a field that is expected to have a AutofillValue#forDate(long) date value.

DateTransformation.InterfaceConsts
DateValueSanitizer

Sanitizes a date AutofillValue using a DateFormat.

DateValueSanitizer.InterfaceConsts
Field

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

Field.Builder

A builder for Field

FieldClassification

Represents the field classification results for a given field.

FieldClassification.Match

Represents the score of a UserData entry for the 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 AutofillService#onFillRequest(FillRequest, CancellationSignal, FillCallback).

FillContext.InterfaceConsts
FillEventHistory

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

FillEventHistory.Event

Description of an event that occurred after the latest call to FillCallback#onSuccess(FillResponse).

FillEventHistory.InterfaceConsts
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
FillResponse

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

FillResponse.Builder

Builder for FillResponse objects.

FillResponse.InterfaceConsts
ImageTransformation

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

ImageTransformation.Builder

Builder for ImageTransformation objects.

ImageTransformation.InterfaceConsts
InlinePresentation

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

InlinePresentation.InterfaceConsts
LuhnChecksumValidator

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

LuhnChecksumValidator.InterfaceConsts
Presentations

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

Presentations.Builder

A builder for Presentations

RegexValidator

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

RegexValidator.InterfaceConsts
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.

SaveInfo.Builder

A builder for SaveInfo objects.

SaveInfo.InterfaceConsts
SaveRequest

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

SaveRequest.InterfaceConsts
TextValueSanitizer

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

TextValueSanitizer.InterfaceConsts
UserData

Defines the user data used for field classification.

UserData.Builder

A builder for UserData objects.

UserData.InterfaceConsts
Validators

Factory for Validator operations.

VisibilitySetterAction

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

VisibilitySetterAction.Builder

Builder for VisibilitySetterAction objects.

VisibilitySetterAction.InterfaceConsts

Interfaces

IOnClickAction

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

ISanitizer

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

ISavedDatasetsInfoCallback

Handles the response to AutofillService#onSavedDatasetsInfoRequest(SavedDatasetsInfoCallback).

ITransformation

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

IValidator

Class used to define whether a condition is satisfied.

Enums

AutofillResponseFlags
EventNoSaveUiReason
EventType
EventUIType
NegativeButtonStyle
PositiveButtonStyle
SaveDataType
SavedDatasetsErrorCode
SaveFlags