Class Address.Component

com.yandex.mapkit.search

java.lang.Object ⇽ Address.Component

public class Address.Component

Enclosing Class:
Address

Single address component.

Component represents a single entry in the administrative hierarchy of the address.

Nested Classes

Methods

Component()

Use constructor with parameters in your code.

Component(@NonNull String name, @NonNull List< Kind > kinds)
synchronized List< Kind > getKinds()

Component kinds.

synchronized String getName()

Component name.

String getNativeName()
void serialize(Archive archive)

Method Detail

Component

public Component ()

Use constructor with parameters in your code.

This one is for serialization only!

Component

public Component (@NonNull String name, @NonNull List< Kind > kinds)

getKinds

public synchronized List< Kind > getKinds ()

Component kinds.

May contain both general and specific kind, for example Kind#STATION and Kind#METRO_STATION.

getName

public synchronized String getName ()

Component name.

getNativeName

public static String getNativeName ()

serialize

public void serialize (Archive archive)