Важно
This feature is available in the Full MapKit SDK version
Package com.yandex.mapkit.search
Class Component
java.lang.Object
↳ com.yandex.mapkit.search.Address.Component
static class Component implements Serializable
Single address component.
Component represents a single entry in the administrative hierarchy of the address.
Nested Class Summary
Modifier and Type |
Interface |
Description |
|
An address component kind, for example, large administrative area. |
Summary
Constructors
Signature and Description |
Component() |
Component(@NonNull java.lang.String name, |
Methods
Type and modifiers |
Method and Description |
|
getName() |
|
getKinds() |
void |
serialize(com.yandex.runtime.bindings.Archive archive) |
|
Constuctors
Component
Component() |
Use constructor with parameters in your code.
This one is for serialization only!
Component
Component(@NonNull java.lang.String name, |
Methods
getName
@NonNull |
Component name.
getKinds
@NonNull |
Component kinds.
May contain both general and specific kind, for example mapkit.search.Address.Component.Kind#STATION and mapkit.search.Address.Component.Kind#METRO_STATION.
serialize
@Override |
getNativeName
java.lang.String getNativeName() |