Package com.google.maps
Class QueryAutocompleteRequest.Response
- java.lang.Object
-
- com.google.maps.QueryAutocompleteRequest.Response
-
- All Implemented Interfaces:
com.google.maps.internal.ApiResponse<AutocompletePrediction[]>
- Enclosing class:
- QueryAutocompleteRequest
public static class QueryAutocompleteRequest.Response extends java.lang.Object implements com.google.maps.internal.ApiResponse<AutocompletePrediction[]>
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.String
errorMessage
AutocompletePrediction[]
predictions
java.lang.String
status
-
Constructor Summary
Constructors Constructor Description Response()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApiException
getError()
AutocompletePrediction[]
getResult()
boolean
successful()
-
-
-
Field Detail
-
status
public java.lang.String status
-
predictions
public AutocompletePrediction[] predictions
-
errorMessage
public java.lang.String errorMessage
-
-
Method Detail
-
successful
public boolean successful()
- Specified by:
successful
in interfacecom.google.maps.internal.ApiResponse<AutocompletePrediction[]>
-
getResult
public AutocompletePrediction[] getResult()
- Specified by:
getResult
in interfacecom.google.maps.internal.ApiResponse<AutocompletePrediction[]>
-
getError
public ApiException getError()
- Specified by:
getError
in interfacecom.google.maps.internal.ApiResponse<AutocompletePrediction[]>
-
-