| java.lang.Object | |
| ↳ | com.esri.core.map.bing.Response<V extends com.esri.core.map.bing.Result> |
Generic class to handle responses from Bing Maps services.
Please refer to this page for a description of a Bing Maps service response: http://msdn.microsoft.com/en-us/library /ff701707.aspx
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
Response(Class<V> resultClass)
The Constructor.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| void |
fromJson(JsonParser parser)
Populates a Response using a Json response
| ||||||||||
| String |
getAuthenticationResultCode()
Returns the authentication code.
| ||||||||||
| URL |
getBrandLogoUri()
Returns the brand logo URI.
| ||||||||||
| String |
getCopyright()
Returns the copyright.
| ||||||||||
| int |
getOutSR()
Returns the output spatial reference of the results.
| ||||||||||
| List<V> |
getResults()
Returns a
List of results | ||||||||||
| int |
getStatusCode()
Returns the status code.
| ||||||||||
| String |
getStatusDescription()
Returns the status description
| ||||||||||
| String |
getTraceId()
Returns the trace ID
| ||||||||||
| void |
setOutSR(int outSR)
Sets the output spatial reference of the results.
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Populates a Response using a Json response
| parser | JsonParser containing the Json response |
|---|
| Exception | |
| Exception |
Returns the authentication code.
Returns the output spatial reference of the results. -1 if none has been set.
Returns the status code.
Sets the output spatial reference of the results.
| outSR | the outSR to set |
|---|