sdk-search / com.tomtom.online.sdk.search.data.additionaldata.result / GeometryResult

GeometryResult

open class GeometryResult : AdditionalDataSearchResult

The result of an Additional Data search with GeometryDataSource.

Constructors

<init>

GeometryResult()

The result of an Additional Data search with GeometryDataSource.

Inherited Properties

errorMessage

var errorMessage: Optional<String!>!

Functions

accept

open fun accept(visitor: AdditionalDataSearchResultVisitor!): Unit

getDataSource

open fun getDataSource(): GeometryDataSource!

Gets information about the source of the data.

getGeometryData

open fun getGeometryData(): Optional<GeoJsonObject!>!

If the Request for geometry data using the GeometryDataSource returned by #getDataSource() was successful, this returns the error message.

Inherited Functions

getErrorMessage

open fun getErrorMessage(): Optional<String!>!

If this Request for additional data resulted in an error, this returns the error message.