Class YMKSearchMetadata

Additional info for search response;.

Class Methods

Properties

boundingBox

Bounding box of the response as a whole.

businessResultMetadata

Additional info for the response from organization search.

context

Server-generated request context.

correctedRequestText

Initial request text with correction of spelling mistakes.

displayType

Display type.

found

Approximate number of found objects.

reqid

Server-generated request ID.

requestBoundingBox

Initial request bounding box.

requestText

Initial request text.

sort

Server-chosen sorting.

toponym

Geocoder response to the toponym part of the query.

toponymResultMetadata

Additional info for the response from toponym search.

Method Detail

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

+ (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
                                               context:(nonnull NSString *)context
                                           requestText:(nonnull NSString *)requestText
                                  correctedRequestText:(nullable NSString *)correctedRequestText
                                    requestBoundingBox:(nullable YMKBoundingBox *)requestBoundingBox 

Property Detail

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 the response from organization search.

Optional property, can be null.

context

(assign, readonly) NSString * context

Server-generated request context.

correctedRequestText

(assign, readonly) NSString * correctedRequestText

Initial request text with correction of spelling mistakes.

Optional property, can be null.

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.

requestBoundingBox

(assign, readonly) YMKBoundingBox * requestBoundingBox

Initial request bounding box.

Optional property, can be null.

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 the response from toponym search.

Optional property, can be null.