Class ToponymResultMetadata

com.yandex.mapkit.search

java.lang.Object ⇽ ToponymResultMetadata

public class ToponymResultMetadata

Common info for response from toponym search.

Nested Classes

Constructors

ToponymResultMetadata()

Use constructor with parameters in your code.

ToponymResultMetadata(int found, @Nullable ResponseInfo responseInfo, @Nullable Point reversePoint)

Methods

synchronized int getFound()

Approximate number of found objects.

String getNativeName()
synchronized ResponseInfo getResponseInfo()

Additional response info.

synchronized Point getReversePoint()

The search coordinates given via 'll' or parsed from 'text' (only in reverse mode).

void serialize(Archive archive)

Constructor Detail

ToponymResultMetadata

public ToponymResultMetadata ()

Use constructor with parameters in your code.

This one is for serialization only!

ToponymResultMetadata

public ToponymResultMetadata (int found, @Nullable ResponseInfo responseInfo, @Nullable Point reversePoint)

Method Detail

getFound

public synchronized int getFound ()

Approximate number of found objects.

getNativeName

public static String getNativeName ()

getResponseInfo

public synchronized ResponseInfo getResponseInfo ()

Additional response info.

Optional field, can be null.

getReversePoint

public synchronized Point getReversePoint ()

The search coordinates given via 'll' or parsed from 'text' (only in reverse mode).

Optional field, can be null.

serialize

public void serialize (Archive archive)