public class GeometryResult extends AdditionalDataSearchResult
GeometryDataSource.errorMessage| Constructor and Description |
|---|
GeometryResult() |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(AdditionalDataSearchResultVisitor visitor) |
GeometryDataSource |
getDataSource()
Gets information about the source of the data.
|
Optional<com.tomtom.online.sdk.common.geojson.GeoJsonObject> |
getGeometryData()
If the Request for geometry data using the
GeometryDataSource returned by
getDataSource() was successful, this returns the error message. |
getErrorMessagepublic GeometryDataSource getDataSource()
public Optional<com.tomtom.online.sdk.common.geojson.GeoJsonObject> getGeometryData()
GeometryDataSource returned by
getDataSource() was successful, this returns the error message.public void accept(AdditionalDataSearchResultVisitor visitor)