-
Represents address type.
Can have multiple subtypes. For example,
[.country]for Country result like Germany or[.address]for a concrete address. Sometimes server may respond with multiple address subtypes for the result. For example, Seoul would have[.region, .place].Declaration
Swift
case address(subtypes: [SearchAddressType]) -
Suggestion represents point-of-interest.
Declaration
Swift
case POI -
Suggestion represents further category search. For example, you may get “bar” category suggestion for “bar” query to look for a POI with “bar” in the categories field.
Declaration
Swift
case category -
Suggestion represents the further query search. It might be used for query corrections.
Declaration
Swift
case query -
Access to
subtypesofaddresstype. Do not available for.POItype.Declaration
Swift
public var addressSubtypes: [SearchAddressType]? { get } -
Initializer for custom Decoder
Declaration
Swift
public init(from decoder: Decoder) throwsParameters
decoderDecoder class
-
Encode structure with your own Encoder
Declaration
Swift
public func encode(to encoder: Encoder) throwsParameters
encoderCustom encoder entity
SearchSuggestType Enumeration Reference