SearchResponse
public struct SearchResponse
A response structure that contains search results for the requested search query
Important
This is a Public Preview API. It may be changed or removed at any time.-
Summary init method.
Declaration
Swift
public init(summary: SearchRequestSummary, results: [SearchResult])
Parameters
summary
Summary object.
results
Array of SearchResult objects containing information about places or points of interest.
-
Summary information about the search that was performed.
Declaration
Swift
public let summary: SearchRequestSummary
-
Array of SearchResult objects containing information about places or points of interest.
Declaration
Swift
public let results: [SearchResult]