Важно
This feature is available in the Full MapKit SDK version
Package com.yandex.mapkit.search
Class PlaceInfo
java.lang.Object
↳ com.yandex.mapkit.search.PlaceInfo
class PlaceInfo implements Serializable
Related place information.
Summary
Constructors
Signature and Description |
PlaceInfo() |
PlaceInfo(@NonNull java.lang.String name, |
Methods
Type and modifiers |
Method and Description |
|
getName() |
|
getUri() |
|
getPhotoUrlTemplate() |
|
getLogId() |
|
getPoint() |
|
getCategory() |
|
getShortName() |
|
getRating() |
|
getWorkingHours() |
|
getAddress() |
|
getTag() |
void |
serialize(com.yandex.runtime.bindings.Archive archive) |
|
Constuctors
PlaceInfo
PlaceInfo() |
Use constructor with parameters in your code.
This one is for serialization only!
PlaceInfo
PlaceInfo(@NonNull java.lang.String name, |
Methods
getName
@NonNull |
Place name.
getUri
@Nullable |
Place URI.
Optional field, can be null.
getPhotoUrlTemplate
@Nullable |
Url template for place photo.
Optional field, can be null.
getLogId
@Nullable |
Server-generated log identifier.
Optional field, can be null.
getPoint
@Nullable |
Place position.
Optional field, can be null.
getCategory
@Nullable |
Place category as a string.
Optional field, can be null.
getShortName
@Nullable |
Short name for a place.
Optional field, can be null.
getRating
@Nullable |
Place rating as number in 0 to 10 range.
Optional field, can be null.
getWorkingHours
@Nullable |
Open hours for a place.
Optional field, can be null.
getAddress
@Nullable |
Formatted address for an organization.
Optional field, can be null.
getTag
@NonNull |
Tags
serialize
@Override |
getNativeName
java.lang.String getNativeName() |