Class PlaceInfo
com.yandex.mapkit.search
java.lang.Object ⇽ PlaceInfo
public class PlaceInfo
Related place information.
Constructors
PlaceInfo() | Use constructor with parameters in your code. |
PlaceInfo(String name, String uri, String photoUrlTemplate, String logId, Point point, String category, String shortName, Float rating, WorkingHours workingHours, String address) |
PlaceInfo() | Use constructor with parameters in your code. |
PlaceInfo(String name, String uri, String photoUrlTemplate, String logId, Point point, String category, String shortName, Float rating, WorkingHours workingHours, String address) |
Methods
synchronized String | getAddress() | Formatted address for an organization. |
synchronized String | getCategory() | Place category as a string. |
synchronized String | getLogId() | Server-generated log identifier. |
synchronized String | getName() | Place name. |
String | getNativeName() | |
synchronized String | getPhotoUrlTemplate() | Url template for place photo. |
synchronized Point | getPoint() | Place position. |
synchronized Float | getRating() | Place rating as number in 0 to 10 range. |
synchronized String | getShortName() | Short name for a place. |
synchronized String | getUri() | Place URI. |
synchronized WorkingHours | getWorkingHours() | Open hours for a place. |
void | serialize(Archive archive) |
synchronized String | getAddress() | Formatted address for an organization. |
synchronized String | getCategory() | Place category as a string. |
synchronized String | getLogId() | Server-generated log identifier. |
synchronized String | getName() | Place name. |
String | getNativeName() | |
synchronized String | getPhotoUrlTemplate() | Url template for place photo. |
synchronized Point | getPoint() | Place position. |
synchronized Float | getRating() | Place rating as number in 0 to 10 range. |
synchronized String | getShortName() | Short name for a place. |
synchronized String | getUri() | Place URI. |
synchronized WorkingHours | getWorkingHours() | Open hours for a place. |
void | serialize(Archive archive) |
Constructor Detail
PlaceInfo
public PlaceInfo ()
Use constructor with parameters in your code.
This one is for serialization only!PlaceInfo
public PlaceInfo (String name, String uri, String photoUrlTemplate, String logId, Point point, String category, String shortName, Float rating, WorkingHours workingHours, String address)
Method Detail
getAddress
public synchronized String getAddress ()
Formatted address for an organization.
Optional field, can be null.getCategory
public synchronized String getCategory ()
Place category as a string.
Optional field, can be null.getLogId
public synchronized String getLogId ()
Server-generated log identifier.
Optional field, can be null.getName
public synchronized String getName ()
Place name.
getNativeName
public static String getNativeName ()
getPhotoUrlTemplate
public synchronized String getPhotoUrlTemplate ()
Url template for place photo.
Optional field, can be null.getPoint
public synchronized Point getPoint ()
Place position.
Optional field, can be null.getRating
public synchronized Float getRating ()
Place rating as number in 0 to 10 range.
Optional field, can be null.getShortName
public synchronized String getShortName ()
Short name for a place.
Optional field, can be null.getUri
public synchronized String getUri ()
Place URI.
Optional field, can be null.getWorkingHours
public synchronized WorkingHours getWorkingHours ()
Open hours for a place.
Optional field, can be null.serialize
public void serialize (Archive archive)