Class Autocomplete.AddressStructure

Object
org.mozilla.geckoview.Autocomplete.AddressStructure
Enclosing class:
Autocomplete

public static class Autocomplete.AddressStructure extends Object
Address structure coordinates runtime messaging between the form autofill toolkit utils and GeckoView.
  • 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.