Важно

This feature is available in the Full MapKit SDK version

Package com.yandex.mapkit.search

Class ToponymResultMetadata

java.lang.Object
    ↳ com.yandex.mapkit.search.ToponymResultMetadata

All Superinterfaces:

BaseMetadata

class ToponymResultMetadata implements BaseMetadata, Serializable

Common info for response from toponym search.

Nested Class Summary

Modifier and Type

Interface

Description

static final

SearchMode

Search mode.

static

ResponseInfo

Additional response info.

Summary

Constructors

Signature and Description

ToponymResultMetadata()
Use constructor with parameters in your code.

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

Methods

Type and modifiers

Method and Description

synchronized int

getFound()
Approximate number of found objects.

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(com.yandex.runtime.bindings.Archive archive)

static java.lang.String

getNativeName()

Constuctors

ToponymResultMetadata

ToponymResultMetadata()

Use constructor with parameters in your code.

This one is for serialization only!


ToponymResultMetadata

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


Methods

getFound

int getFound()

Approximate number of found objects.


getResponseInfo

@Nullable
ResponseInfo getResponseInfo()

Additional response info.

Optional field, can be null.


getReversePoint

@Nullable
Point getReversePoint()

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

Optional field, can be null.


serialize

@Override
void serialize(com.yandex.runtime.bindings.Archive archive)


getNativeName

java.lang.String getNativeName()


Предыдущая