Class YMKSearchResultItem

Wrapper of the GeoObject in response, which makes it easy to get the certain fields from GeoObject.

Instance Methods

- details

Details for the subtitle.

- hasDetails

Does the GeoObject contain details for subtitle.

- isClosed

Is the organization closed now.

- isCollection

Is it a collection GeoObject.

- isOffline

Is the GeoObject found in offline search.

Properties

categoryClass

CategoryClass (optional, first if there are several)

geoObject

Wrapped GeoObject itself.

id

Id (constructed inside)

name

Name (from GeoObject)

point

Point from the GeoObject.

Method Detail

-details

- (nonnull NSArray< YMKSearchSubtitleItem * > *)details

Details for the subtitle.

-hasDetails

- (BOOL)hasDetails

Does the GeoObject contain details for subtitle.

-isClosed

- (BOOL)isClosed

Is the organization closed now.

-isCollection

- (BOOL)isCollection

Is it a collection GeoObject.

-isOffline

- (BOOL)isOffline

Is the GeoObject found in offline search.

Property Detail

categoryClass

(assign, readonly) NSString * categoryClass

CategoryClass (optional, first if there are several)

Optional property, can be nil.

geoObject

(assign, readonly) YMKGeoObject * geoObject

Wrapped GeoObject itself.

id

(assign, readonly) NSString * id

Id (constructed inside)

name

(assign, readonly) NSString * name

Name (from GeoObject)

point

(assign, readonly) YMKPoint * point

Point from the GeoObject.