Language

BaseAdapter.GetAutofillOptions Method

Definition

Gets a string representation of the adapter data that can help AutofillService autofill the view backed by the adapter. It should only be set (i.e., non- null if the values do not represent PII (Personally Identifiable Information - sensitive data such as email addresses, credit card numbers, passwords, etc...). For example, it's ok to return a list of month names, but not a list of usernames. A good rule of thumb is that if the adapter data comes from static resources, such data is not PII - see ViewStructure.setDataIsSensitive(boolean) for more info. It should only be set (i.e., non- null if the values do not represent PII (Personally Identifiable Information - sensitive data such as email addresses, credit card numbers, passwords, etc...). For example, it's ok to return a list of month names, but not a list of usernames. A good rule of thumb is that if the adapter data comes from static resources, such data is not PII - see ViewStructure.setDataIsSensitive(boolean) for more info.

public string[]? GetAutofillOptions();
abstract member GetAutofillOptions : unit -> string[]
override this.GetAutofillOptions : unit -> string[]

Returns

String[]

null by default, unless implementations override it.

Implements

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.

Applies to