Важно

This feature is available in the Full MapKit SDK version

Package com.yandex.mapkit.search

Interface Search

interface Search

Summary

Methods

Type and modifiers

Method and Description

SearchLayer

createSearchLayer(@NonNull MapWindow mapWindow)
Gets the search_layer object.

SearchManager

createSearchManager(@NonNull SearchManagerType searchManagerType)
Creates a manager that allows to search for various geographical objects using a variety of parameters.

boolean

isValid()
Tells if this Search is valid or not.

Methods

createSearchLayer

@NonNull
SearchLayer createSearchLayer(@NonNull MapWindow mapWindow)

Gets the search_layer object.


createSearchManager

@NonNull
SearchManager createSearchManager(@NonNull SearchManagerType searchManagerType)

Creates a manager that allows to search for various geographical objects using a variety of parameters.


isValid

boolean isValid()

Tells if this Search is valid or not.

Any other method (except for this one) called on an invalid Search will throw java.lang.RuntimeException. An instance becomes invalid only on UI thread, and only when its implementation depends on objects already destroyed by now. Please refer to general docs about the interface for details on its invalidation.


Предыдущая
Следующая