Важно
This feature is available in the Full MapKit SDK version
Package com.yandex.mapkit.search
Class SearchMetadata
java.lang.Object
↳ com.yandex.mapkit.search.SearchMetadata
All Superinterfaces:
class SearchMetadata implements BaseMetadata, Serializable
Additional info for search response;
Summary
Constructors
Signature and Description |
SearchMetadata() |
SearchMetadata(int found, |
Methods
Type and modifiers |
Method and Description |
|
getFound() |
|
getDisplayType() |
|
getBoundingBox() |
|
getSort() |
|
getToponym() |
|
getToponymResultMetadata() |
|
getBusinessResultMetadata() |
|
getReqid() |
|
getContext() |
|
getRequestText() |
|
getCorrectedRequestText() |
|
getRequestBoundingBox() |
void |
serialize(com.yandex.runtime.bindings.Archive archive) |
|
Constuctors
SearchMetadata
SearchMetadata() |
Use constructor with parameters in your code.
This one is for serialization only!
SearchMetadata
SearchMetadata(int found, |
Methods
getFound
int getFound() |
Approximate number of found objects.
getDisplayType
@NonNull |
Display type.
getBoundingBox
@Nullable |
Bounding box of the response as a whole.
Optional field, can be null.
getSort
@Nullable |
Server-chosen sorting.
Optional field, can be null.
getToponym
@Nullable |
Geocoder response to the toponym part of the query.
Optional field, can be null.
getToponymResultMetadata
@Nullable |
Additional info for the response from toponym search.
Optional field, can be null.
getBusinessResultMetadata
@Nullable |
Additional info for the response from organization search.
Optional field, can be null.
getReqid
@NonNull |
Server-generated request ID.
getContext
@NonNull |
Server-generated request context.
getRequestText
@NonNull |
Initial request text.
getCorrectedRequestText
@Nullable |
Initial request text with correction of spelling mistakes.
Optional field, can be null.
getRequestBoundingBox
@Nullable |
Initial request bounding box.
Optional field, can be null.
serialize
@Override |
getNativeName
java.lang.String getNativeName() |