EventType Enum
Definition
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.
public enum EventType
type EventType =
- Inheritance
-
EventType
Fields
| Name | Value | Description |
|---|---|---|
| DatasetSelected | 0 | A dataset was selected. The dataset selected can be read from getDatasetId(). Note: on Android Build.VERSION_CODES.O, this event was also incorrectly reported after a dataset authentication was selected and the service returned a dataset in the AutofillManager.EXTRA_AUTHENTICATION_RESULT of the activity launched from that IntentSender. This behavior was fixed on Android Build.VERSION_CODES.O_MR1. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| DatasetAuthenticationSelected | 1 | A dataset authentication was selected. The dataset authenticated can be read from getDatasetId(). Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| AuthenticationSelected | 2 | A fill response authentication was selected. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| SaveShown | 3 | A save UI was shown. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| ContextCommitted | 4 | A committed autofill context for which the autofill service provided datasets. This event is useful to track: Which datasets (if any) were selected by the user (getSelectedDatasetIds()); Which datasets (if any) were NOT selected by the user (getIgnoredDatasetIds()); Which fields in the selected datasets were changed by the user after the dataset was selected (getChangedFields()); Which fields match the UserData set by the service Note: This event is only generated when:; The autofill context is committed; The service provides at least one dataset in the fill responses associated with the context; The last fill responses associated with the context has the FillResponse.FLAG_TRACK_CONTEXT_COMMITED flag. See AutofillManager for more information about autofill contexts. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| DatasetsShown | 5 | A dataset selector was shown. This event is fired whenever the autofill UI was presented to the user. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| ViewRequestedAutofill | 6 | The app/user requested for a field to be Autofilled. This event is fired when the view has been entered (by user or app) in order to differentiate from FillRequests that have been pretriggered for FillDialogs. For example, the user might navigate away from a screen without tapping any fields. In this case, a FillRequest/FillResponse has been generated, but was not used for Autofilling. The user did not intend to see an Autofill result, but a FillRequest was still generated. This is different from when the user did tap on a field after the pretriggered FillRequest, this event will appear in the FillEventHistory, signaling that the user did intend to Autofill something. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| ResponseDiscarded | 7 |
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.