Важно
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 |
createSearchLayer(@NonNull MapWindow mapWindow) |
|
createSearchManager(@NonNull SearchManagerType searchManagerType) |
|
boolean |
isValid() |
Methods
createSearchLayer
@NonNull |
Gets the search_layer object.
createSearchManager
@NonNull |
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.