Class Response
com.yandex.mapkit.search
java.lang.Object ⇽ Response
public class Response
Top level structure for search response.
Constructors
Response() | Use constructor with parameters in your code. |
Response(SearchMetadata metadata, GeoObjectCollection collection, boolean isOffline) |
Response() | Use constructor with parameters in your code. |
Response(SearchMetadata metadata, GeoObjectCollection collection, boolean isOffline) |
Methods
synchronized GeoObjectCollection | getCollection() | List of objects (organizations, toponyms) in search response. |
synchronized boolean | getIsOffline() | Flag describing if this response was built offline. |
synchronized SearchMetadata | getMetadata() | Extended response information. |
String | getNativeName() | |
void | serialize(Archive archive) |
synchronized GeoObjectCollection | getCollection() | List of objects (organizations, toponyms) in search response. |
synchronized boolean | getIsOffline() | Flag describing if this response was built offline. |
synchronized SearchMetadata | getMetadata() | Extended response information. |
String | getNativeName() | |
void | serialize(Archive archive) |
Constructor Detail
Response
public Response ()
Use constructor with parameters in your code.
This one is for serialization only!Response
public Response (SearchMetadata metadata, GeoObjectCollection collection, boolean isOffline)
Method Detail
getCollection
public synchronized GeoObjectCollection getCollection ()
List of objects (organizations, toponyms) in search response.
getIsOffline
public synchronized boolean getIsOffline ()
Flag describing if this response was built offline.
getMetadata
public synchronized SearchMetadata getMetadata ()
Extended response information.
getNativeName
public static String getNativeName ()
serialize
public void serialize (Archive archive)