geometrySearch

abstract fun geometrySearch(geometrySearchOptions: GeometrySearchOptions): Result<GeometrySearchResponse, GeometrySearchError>

Performs a synchronous Geometry Search based on the provided GeometrySearchOptions object and delivers the Result by the provided GeometrySearchResponse or a GeometrySearchError if the search fails.

Return

If the search succeeds, the Result contains a GeometrySearchResponse. If it fails, it contains a GeometrySearchError.

Parameters

geometrySearchOptions

The object which contains the data necessary to execute the Geometry Search.


abstract fun geometrySearch(geometrySearchOptions: GeometrySearchOptions, geometrySearchCallback: GeometrySearchCallback): Cancellable

Performs an asynchronous Geometry Search based on the provided GeometrySearchOptions object and returns the result by the provided GeometrySearchCallback.

Parameters

geometrySearchOptions

The object which contains the data necessary to execute the Geometry Search.

geometrySearchCallback

The GeometrySearchCallback invoked when the search operation has been finished either successfully or with an error. The callback will be executed in the main thread.