SearchRequestSummary
public struct SearchRequestSummary
Summary information about the search that was performed.
Important
This is a Public Preview API. It may be changed or removed at any time.-
Creates a new
SearchRequestSummaryDeclaration
Swift
public init( query: String = "", queryTime: Measurement<UnitDuration>? = nil, offset: Int = 0, totalResults: Int = 0, geoBias: CLLocationCoordinate2D? = nil )Parameters
queryThe query this is a response to.
queryTimeThe time the query took to execute.
offsetStart index of returned results for query.
totalResultsNumber of total results available for given query.
geoBiasThe position used to bias the results.
-
The query this is a response to.
Declaration
Swift
public let query: String -
The time the query took to execute.
Declaration
Swift
public let queryTime: Measurement<UnitDuration>? -
Start index of returned results for query.
Declaration
Swift
public let offset: Int -
Number of total results available for given query.
Declaration
Swift
public let totalResults: Int -
The position used to bias the results.
Declaration
Swift
public let geoBias: CLLocationCoordinate2D?
SearchRequestSummary Structure Reference