SearchResponse

public struct SearchResponse

A response structure that contains search results for the requested search query.

  • Creates an instance of the SearchResponse.

    Declaration

    Swift

    public init(summary: SearchRequestSummary, results: [SearchResult])

    Parameters

    summary

    Summary information about the search that was performed.

    results

    Array of SearchResult objects containing information about places or points of interest.

  • Summary information about the search that was performed.

    See more

    Declaration

    Swift

    public struct Summary
  • 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]