目录

TextSearchResponse

Class Info

public class TextSearchResponse

Represents a response object containing places that match the keyword.

Public Constructor Summary

Constructor Name

TextSearchResponse()

Default constructor.

Public Method Summary

Qualifier and Type

Method Name and Description

List<Site>

getSites()

Obtains a list of matched places.

int

getTotalCount()

Obtains the total number of matched places.

void

setSites(List<Site> sites)

Sets a list of matched places.

void

setTotalCount(int totalCount)

Sets the total number of matched places.

Public Methods

[h2]getSites

Method

public List<Site> getSites()

Obtains a list of matched places.

Returns

Type

Description

List<Site>

List of matched places.

[h2]getTotalCount

Method

public int getTotalCount()

Obtains the total number of matched places.

Returns

Type

Description

int

Total number of matched places.

[h2]setSites

Method

public void setSites(List<Site> sites)

Sets a list of matched places.

Parameters

Name

Description

sites

List of matched places.

[h2]setTotalCount

Method

public void setTotalCount(int totalCount)

Sets the total number of matched places.

Parameters

Name

Description

totalCount

Total number of matched places.