Warning

This feature is available in the Full MapKit SDK version

YMKSearchResponse

class YMKSearchResponse : NSObject

Top level structure for search response.

Summary

Class methods

 init(metadata: YMKSearchMetadata,
    collection: YMKGeoObjectCollection,
     isOffline: Bool)

Properties

var metadataYMKSearchMetadata { get }
Extended response information

var collectionYMKGeoObjectCollection { get }
List of objects (organizations, toponyms) in search response

var isOffline: Bool { get }
Flag describing if this response was built offline

Class methods

init(metadata:collection:isOffline:)

 init(metadata: YMKSearchMetadata,
    collection: YMKGeoObjectCollection,
     isOffline: Bool)


Properties

metadata

var metadata: YMKSearchMetadata { get }

Extended response information.


collection

var collection: YMKGeoObjectCollection { get }

List of objects (organizations, toponyms) in search response.


isOffline

var isOffline: Bool { get }

Flag describing if this response was built offline.