Class ToponymObjectMetadata
Warning
This feature is available in the Full MapKit SDK version
Package com.yandex.mapkit.search
java.lang.Object
↳ com.yandex.mapkit.search.ToponymObjectMetadata
All Superinterfaces:
class ToponymObjectMetadata implements BaseMetadata, Serializable
Additional data for toponym objects.
Summary
Constructors
|
Signature and Description |
|
ToponymObjectMetadata() |
|
ToponymObjectMetadata(@NonNull Address address, |
Methods
|
Type and modifiers |
Method and Description |
|
|
getAddress() |
|
|
getPrecision() |
|
|
getFormerName() |
|
|
getBalloonPoint() |
|
|
getGeoId() |
|
|
getId() |
|
void |
serialize(com.yandex.runtime.bindings.Archive archive) |
|
|
Constuctors
ToponymObjectMetadata
|
ToponymObjectMetadata() |
Use constructor with parameters in your code.
This one is for serialization only!
ToponymObjectMetadata
|
ToponymObjectMetadata(@NonNull Address address, |
Methods
getAddress
|
@NonNull |
Structured toponym address
getPrecision
|
@Nullable |
Toponym precision.
Optional field, can be null.
getFormerName
|
@Nullable |
Former name for toponym if any.
Optional field, can be null.
getBalloonPoint
|
@NonNull |
Point where balloon for the toponym should be shown.
Differs for direct and reverse search modes: Direct mode -- toponym center. Reverse mode -- toponym nearest point to the given coordinates.
getGeoId
|
int getGeoId() |
geobase id
getId
|
@Nullable |
Persistent toponym id (available for Yandex-owned regions).
Optional field, can be null.
serialize
|
@Override |
getNativeName
|
java.lang.String getNativeName() |