PackedSearchQuery | iOS SDK | 2GIS Documentation
iOS SDK

PackedSearchQuery

Auxiliary object for serializing and deserializing a search query.

Extends: Hashable
public static func == (lhs: PackedSearchQuery, rhs: PackedSearchQuery) -> Bool

Returns a Boolean value indicating whether two values are equal.

Methods
Properties

Query text. For some queries (e.g., revealing a rubric from suggest), there is no text because the query stores identifiers, and the behavior is different than searching the text of a suggest element.

Geometry limiting the search area.

Rectangular area of interest.

Restriction on the object types returned by the search.

The size of the output page.

Information about active filters.

Type of result sorting.