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(@NonNull String name, @Nullable String uri, @Nullable String photoUrlTemplate, @Nullable String logId, @Nullable Point point, @Nullable String category, @Nullable String shortName, @Nullable Float rating, @Nullable WorkingHours workingHours, @Nullable 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)

Constructor Detail

PlaceInfo

public PlaceInfo ()

Use constructor with parameters in your code.

This one is for serialization only!

PlaceInfo

public PlaceInfo (@NonNull String name, @Nullable String uri, @Nullable String photoUrlTemplate, @Nullable String logId, @Nullable Point point, @Nullable String category, @Nullable String shortName, @Nullable Float rating, @Nullable WorkingHours workingHours, @Nullable 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)