SearchAddressType

public enum SearchAddressType : String, Hashable, Codable

Concrete available address types

  • Individual residential or business addresses.

    Declaration

    Swift

    case address
  • Typically these are cities, villages, municipalities, etc. They’re usually features used in postal addressing, and are suitable for display in ambient end-user applications where current-location context is needed (for example, in weather displays).

    Declaration

    Swift

    case place
  • The street, with no house number.

    Declaration

    Swift

    case street
  • Postal codes used in country-specific national addressing systems.

    Declaration

    Swift

    case postcode
  • Generally recognized countries or, in some cases like Hong Kong, an area of quasi-national administrative status that has been given a designated country code under ISO 3166-1.

    Declaration

    Swift

    case country
  • Top-level sub-national administrative features, such as states in the United States or provinces in Canada or China.

    Declaration

    Swift

    case region
  • Features that are smaller than top-level administrative features but typically larger than cities, in countries that use such an additional layer in postal addressing (for example, prefectures in China).

    Declaration

    Swift

    case district
  • Official sub-city features present in countries where such an additional administrative layer is used in postal addressing, or where such features are commonly referred to in local parlance. Examples include city districts in Brazil and Chile and arrondissements in France.

    Declaration

    Swift

    case locality
  • Colloquial sub-city features often referred to in local parlance. Unlike locality features, these typically lack official status and may lack universally agreed-upon boundaries.

    Declaration

    Swift

    case neighborhood
  • The block number. Available specifically for Japan.

    Declaration

    Swift

    case block