com.google.maps.internal.ApiResponse<PlacesSearchResponse>
public static class TextSearchRequest.Response extends java.lang.Object implements com.google.maps.internal.ApiResponse<PlacesSearchResponse>
Modifier and Type | Field | Description |
---|---|---|
java.lang.String |
errorMessage |
|
java.lang.String[] |
htmlAttributions |
|
java.lang.String |
nextPageToken |
|
PlacesSearchResult[] |
results |
|
java.lang.String |
status |
Constructor | Description |
---|---|
Response() |
Modifier and Type | Method | Description |
---|---|---|
ApiException |
getError() |
|
PlacesSearchResponse |
getResult() |
|
boolean |
successful() |
public java.lang.String status
public java.lang.String[] htmlAttributions
public PlacesSearchResult[] results
public java.lang.String nextPageToken
public java.lang.String errorMessage
public boolean successful()
successful
in interface com.google.maps.internal.ApiResponse<PlacesSearchResponse>
public PlacesSearchResponse getResult()
getResult
in interface com.google.maps.internal.ApiResponse<PlacesSearchResponse>
public ApiException getError()
getError
in interface com.google.maps.internal.ApiResponse<PlacesSearchResponse>