Class YMKSearchMetadata

Additional info for search response;.

Class Methods

Properties

banners

Yandex.Direct banners.

boundingBox

Bounding box of the response as a whole.

businessResultMetadata

Additional info for response from organization search.

context

Server-generated request context.

displayType

Display type.

found

Approximate number of found objects.

reqid

Server-generated request id.

requestText

Initial request text.

sort

Server-chosen sorting.

toponym

Geocoder response to the toponym part of the query.

toponymResultMetadata

Additional info for response from toponym search.

banners

Yandex.Direct banners.

boundingBox

Bounding box of the response as a whole.

businessResultMetadata

Additional info for response from organization search.

context

Server-generated request context.

displayType

Display type.

found

Approximate number of found objects.

reqid

Server-generated request id.

requestText

Initial request text.

sort

Server-chosen sorting.

toponym

Geocoder response to the toponym part of the query.

toponymResultMetadata

Additional info for response from toponym search.

Method Detail

+searchMetadataWithFound:displayType:boundingBox:sort:toponym:toponymResultMetadata:businessResultMetadata:reqid:banners:context:requestText:

+ (nonnull YMKSearchMetadata *)searchMetadataWithFound:(NSInteger)found
                                           displayType:(YMKSearchDisplayType)displayType
                                           boundingBox:(nullable YMKBoundingBox *)boundingBox
                                                  sort:(nullable YMKSearchSort *)sort
                                               toponym:(nullable YMKGeoObject *)toponym
                                 toponymResultMetadata:(nullable YMKSearchToponymResultMetadata *)toponymResultMetadata
                                businessResultMetadata:(nullable YMKSearchBusinessResultMetadata *)businessResultMetadata
                                                 reqid:(nonnull NSString *)reqid
                                               banners:(nonnull NSArray< YMKDirectBanner * > *)banners
                                               context:(nonnull NSString *)context
                                           requestText:(nonnull NSString *)requestText 

Property Detail

banners

(assign, readonly) NSArray< YMKDirectBanner * > * banners

Yandex.Direct banners.

boundingBox

(assign, readonly) YMKBoundingBox * boundingBox

Bounding box of the response as a whole.

Optional property, can be null.

businessResultMetadata

(assign, readonly) YMKSearchBusinessResultMetadata * businessResultMetadata

Additional info for response from organization search.

Optional property, can be null.

context

(assign, readonly) NSString * context

Server-generated request context.

displayType

(assign, readonly) YMKSearchDisplayType displayType

Display type.

found

(assign, readonly) NSInteger found

Approximate number of found objects.

reqid

(assign, readonly) NSString * reqid

Server-generated request id.

requestText

(assign, readonly) NSString * requestText

Initial request text.

sort

(assign, readonly) YMKSearchSort * sort

Server-chosen sorting.

Optional property, can be null.

toponym

(assign, readonly) YMKGeoObject * toponym

Geocoder response to the toponym part of the query.

Optional property, can be null.

toponymResultMetadata

(assign, readonly) YMKSearchToponymResultMetadata * toponymResultMetadata

Additional info for response from toponym search.

Optional property, can be null.