Package org.mozilla.geckoview
Class Autocomplete.AddressStructure
Object
org.mozilla.geckoview.Autocomplete.AddressStructure
- Enclosing class:
- Autocomplete
Address structure coordinates runtime messaging between the form autofill toolkit utils and
GeckoView.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceDescribes how UI clients should render a single row (field) in an address -
Method Summary
Modifier and TypeMethodDescriptiongetAddressStructure(String countryCode) Returns a list of Fields in order for a given country.
-
Method Details
-
getAddressStructure
@AnyThread @NonNull public static GeckoResult<List<Autocomplete.AddressStructure.Field>> getAddressStructure(@NonNull String countryCode) Returns a list of Fields in order for a given country.- Parameters:
countryCode- The country you want an address structure for.- Returns:
- a GeckoResult with a list of Fields for the given country or an exception.
-