Address
@available(*, message: "TT_API_PUBLIC_PREVIEW('byTheEndOf=2020.12', 'This is under Public Preview and subject to change until the end date. More information is available at: https://developer.tomtom.com/public-preview'﹚")
@objc
public class Address : NSObject
Public Preview
This is under Public Preview and subject to change by the end of 2020.12.
More information is available at: https://developer.tomtom.com/public-preview
A representation of address.
-
Contry code like ‘US’
Declaration
Swift
@objc public let countryCode: String? -
Full name of a country like ‘United States Of America’
Declaration
Swift
@objc public let country: String? -
Country code like ‘USA’
Declaration
Swift
@objc public let countryCodeISO3: String? -
Freeformed Address like “33 S lst St, San Jose, CA 95113”
Declaration
Swift
@objc public let freeformAddress: String? -
The building number on the street like “33”
Declaration
Swift
@objc public let streetNumber: String? -
The street.
Declaration
Swift
@objc public let street: String? -
The name of the street.
Declaration
Swift
@objc public let streetName: String? -
The building number on the street like “33”
Declaration
Swift
@objc public let buildingNumber: String? -
Route numbers.
Declaration
Swift
@objc public let routeNumbers: [String]? -
Subdivision level of locality. For example: neighbourhood, suburb, city district, village.
Declaration
Swift
@objc public let municipalitySubdivision: String? -
Locality. For example: city, town, community, borough like “San Jose”
Declaration
Swift
@objc public let municipality: String? -
Second level of country administrative hierarchy. For example: county, borough, parish, municipality like “Santa Clara”
Declaration
Swift
@objc public let countrySecondarySubdivision: String? -
Third level of country administrative hierarchy. For example: town, townships, borough, named area like “San Jose”
Declaration
Swift
@objc public let countryTertiarySubdivision: String? -
First level of country administrative hierarchy. For example: state, province, region, dependent country like “CA”
Declaration
Swift
@objc public let countrySubdivision: String? -
Postal(Zip) Code like “95113”
Declaration
Swift
@objc public let postalCode: String? -
Speed limit
Declaration
Swift
@objc public let speedLimit: String? -
A full name of a first level of country administrative hierarchy. This field appears only in case countrySubdivision is presented in an abbreviated form. Supported only for USA, Canada and Great Britain.
Declaration
Swift
@objc public let countrySubdivisionName: String?
Address Class Reference