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. |
- isAdvertisement | Is it an advertisement GeoObject. |
- isClosed | Is the organization closed now. |
- isOffline | Is the GeoObject found in offline search. |
- details | Details for the subtitle. |
- hasDetails | Does the GeoObject contain details for subtitle. |
- isAdvertisement | Is it an advertisement GeoObject. |
- isClosed | Is the organization closed now. |
- isOffline | Is the GeoObject found in offline search. |
Properties
Method Detail
-details
- (nonnull NSArray< YMKSubtitlePart * > *)details
Details for the subtitle.
-hasDetails
- (BOOL)hasDetails
Does the GeoObject contain details for subtitle.
-isAdvertisement
- (BOOL)isAdvertisement
Is it an advertisement GeoObject.
-isClosed
- (BOOL)isClosed
Is the organization closed now.
-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.
valid
(assign, readonly, getter=isValid) BOOL valid
Tells if this object is valid or no.
Any method called on an invalid object will throw an exception. The object becomes invalid only on UI thread, and only when its implementation depends on objects already destroyed by now. Please refer to general docs about the interface for details on its invalidation.