Class Info |
|---|
public class Poi Represents a POI object containing detailed POI information. |
Qualifier and Type |
Method Name and Description |
|---|---|
String |
Obtains the business status of a place. |
| Obtains child nodes of a POI. |
|
String |
Obtains the international phone number of a place. |
| Obtains opening hours of a place. |
|
String |
getPhone() Obtains the phone number of a place. |
String[] |
Obtains the photo URL of a place. |
String[] |
Obtains a list of POI types. |
Integer |
Obtains the price level of a place. |
String[] |
Obtains Huawei POI types of a place. |
double |
Obtains the rating of a place. |
String |
Obtains the official website of a place. |
String |
getIcon() Obtains the icon URL of a place. |
void |
setBusinessStatus(String businessStatus) Sets the business status of a place. |
void |
setChildrenNodes(ChildrenNode[] childrenNodes) Sets child nodes of a POI. |
void |
setInternationalPhone(String internationalPhone) Sets the international phone number of a place. |
void |
setOpeningHours(OpeningHours openingHours) Sets opening hours of a place. |
void |
setPhone(String phone) Sets the phone number of a place. |
void |
setPhotoUrls(String[] photoUrls) Sets the photo URL of a place. |
void |
setPoiTypes(String[] poiTypes) Sets the POI type of a place. |
void |
setPriceLevel(Integer priceLevel) Sets the price level of a place. |
void |
setHwPoiTypes(String[] hwPoiTypes) Sets the Huawei POI type of a place. |
void |
setRating(double rating) Sets the rating of a place. |
void |
setWebsiteUrl(String websiteUrl) Sets the official website of a place. |
void |
setIcon(String icon) Sets the icon URL of a place. |
Method |
|---|
public String getBusinessStatus() Obtains the business status of a place. |
Returns
Type |
Description |
|---|---|
String |
Business status of a place. The options are as follows:
NOTE:
This parameter is returned only by the place detail search API. |
Method |
|---|
public ChildrenNode[] getChildrenNodes() Obtains child nodes of a POI. |
Returns
Type |
Description |
|---|---|
Child nodes of a POI. |
Method |
|---|
public String getInternationalPhone() Obtains the international phone number of a place. |
Returns
Type |
Description |
|---|---|
String |
International phone number. |
Method |
|---|
public OpeningHours getOpeningHours() Obtains opening hours of a place. |
Returns
Type |
Description |
|---|---|
Opening hours. |
Method |
|---|
public String getPhone() Obtains the phone number of a place. |
Returns
Type |
Description |
|---|---|
String |
Phone number. |
Method |
|---|
public String[] getPhotoUrls() Obtains the photo URL of a place. |
Returns
Type |
Description |
|---|---|
String[] |
Photo URL. |
Method |
|---|
public String[] getPoiTypes() Obtains a list of POI types. |
Returns
Type |
Description |
|---|---|
String[] |
Method |
|---|
public Integer getPriceLevel() Obtains the price level of a place. |
Returns
Type |
Description |
|---|---|
Integer |
Price level. The value ranges from 0 to 4. NOTE:
This parameter is returned only by the place detail search API. |
Method |
|---|
public String[] getHwPoiTypes() Obtains Huawei POI types of a place. |
Returns
Type |
Description |
|---|---|
String[] |
Method |
|---|
public double getRating() Obtains the rating of a place. |
Returns
Type |
Description |
|---|---|
double |
Rating. |
Method |
|---|
public String getWebsiteUrl() Obtains the official website of a place. |
Returns
Type |
Description |
|---|---|
String |
Official website. |
Method |
|---|
public String getIcon() Obtains the icon URL of a place. |
Returns
Type |
Description |
|---|---|
String |
Icon URL. |
Method |
|---|
public void setBusinessStatus(String businessStatus) Sets the business status of a place. |
Parameters
Name |
Description |
|---|---|
businessStatus |
Business status of a place. The options are as follows:
NOTE:
This parameter is returned only by the place detail search API. |
Method |
|---|
public void setChildrenNodes(ChildrenNode[] childrenNodes) Sets child nodes of a POI. |
Parameters
Name |
Description |
|---|---|
childrenNodes |
Child nodes of a POI. |
Method |
|---|
public void setInternationalPhone(String internationalPhone) Sets the international phone number of a place. |
Parameters
Name |
Description |
|---|---|
internationalPhone |
International phone number. |
Method |
|---|
public void setOpeningHours(OpeningHours openingHours) Sets opening hours of a place. |
Parameters
Name |
Description |
|---|---|
openingHours |
Opening hours. |
Method |
|---|
public void setPhone(String phone) Sets the phone number of a place. |
Parameters
Name |
Description |
|---|---|
phone |
Phone number. |
Method |
|---|
public void setPhotoUrls(String[] photoUrls) Sets the photo URL of a place. |
Parameters
Name |
Description |
|---|---|
photoUrls |
Photo URL. |
Method |
|---|
public void setPoiTypes(String[] poiTypes) Sets the POI type of a place. |
Parameters
Name |
Description |
|---|---|
poiTypes |
NOTE:
Huawei POI types are recommended. |
Method |
|---|
public void setPriceLevel(Integer priceLevel) Sets the price level of a place. |
Parameters
Name |
Description |
|---|---|
priceLevel |
Price level. The value ranges from 0 to 4. |
Method |
|---|
public void setHwPoiTypes(String[] hwPoiTypes) Sets the Huawei POI type of a place. |
Parameters
Name |
Description |
|---|---|
hwPoiTypes |
Method |
|---|
public void setRating(double rating) Sets the rating of a place. |
Parameters
Name |
Description |
|---|---|
rating |
Rating. The value ranges from 0 to 5. |