Package org.mozilla.geckoview
Interface Autocomplete.AddressStructure.Field
- All Known Implementing Classes:
Autocomplete.AddressStructure.Field.SelectField,Autocomplete.AddressStructure.Field.TextField
- Enclosing class:
- Autocomplete.AddressStructure
public static interface Autocomplete.AddressStructure.Field
Describes how UI clients should render a single row (field) in an address
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classA select (dropdown) input field with a constrained set of options (e.g., state, country).static final classA simple text input field (e.g., name, city). -
Method Summary
-
Method Details
-
getId
The ID for the field. Maps 1:1 to a field on an Address.- Returns:
- the id.
-
getLocalizationKey
Returns the localization key used to obtain a human-readable label for this field.This key allows the embedding application to look up the display string in its own resources (e.g., `autofill-address-name`). It is not a user-visible string.
- Returns:
- the localization key.
-