public static class DistanceMatrixApi.Response extends java.lang.Object implements com.google.maps.internal.ApiResponse<DistanceMatrix>
| Modifier and Type | Field and Description |
|---|---|
java.lang.String[] |
destinationAddresses |
java.lang.String |
errorMessage |
java.lang.String[] |
originAddresses |
DistanceMatrixRow[] |
rows |
java.lang.String |
status |
| Constructor and Description |
|---|
Response() |
| Modifier and Type | Method and Description |
|---|---|
ApiException |
getError() |
DistanceMatrix |
getResult() |
boolean |
successful() |
public java.lang.String status
public java.lang.String errorMessage
public java.lang.String[] originAddresses
public java.lang.String[] destinationAddresses
public DistanceMatrixRow[] rows
public boolean successful()
successful in interface com.google.maps.internal.ApiResponse<DistanceMatrix>public ApiException getError()
getError in interface com.google.maps.internal.ApiResponse<DistanceMatrix>public DistanceMatrix getResult()
getResult in interface com.google.maps.internal.ApiResponse<DistanceMatrix>