public static interface SearchForTextResult.Builder extends SdkPojo, CopyableBuilder<SearchForTextResult.Builder,SearchForTextResult>
| Modifier and Type | Method and Description |
|---|---|
SearchForTextResult.Builder |
distance(Double distance)
The distance in meters of a great-circle arc between the bias position specified and the result.
|
default SearchForTextResult.Builder |
place(Consumer<Place.Builder> place)
Details about the search result, such as its address and position.
|
SearchForTextResult.Builder |
place(Place place)
Details about the search result, such as its address and position.
|
SearchForTextResult.Builder |
relevance(Double relevance)
The relative confidence in the match for a result among the results returned.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildSearchForTextResult.Builder distance(Double distance)
The distance in meters of a great-circle arc between the bias position specified and the result.
Distance will be returned only if a bias position was specified in the query.
A great-circle arc is the shortest path on a sphere, in this case the Earth. This returns the shortest distance between two locations.
distance - The distance in meters of a great-circle arc between the bias position specified and the result.
Distance will be returned only if a bias position was specified in the query. A great-circle arc is the shortest path on a sphere, in this case the Earth. This returns the shortest distance between two locations.
SearchForTextResult.Builder place(Place place)
Details about the search result, such as its address and position.
place - Details about the search result, such as its address and position.default SearchForTextResult.Builder place(Consumer<Place.Builder> place)
Details about the search result, such as its address and position.
This is a convenience that creates an instance of thePlace.Builder avoiding the need to create one
manually via Place.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to place(Place).place - a consumer that will call methods on Place.Builderplace(Place)SearchForTextResult.Builder relevance(Double relevance)
The relative confidence in the match for a result among the results returned. For example, if more fields for an address match (including house number, street, city, country/region, and postal code), the relevance score is closer to 1.
Returned only when the partner selected is Esri.
relevance - The relative confidence in the match for a result among the results returned. For example, if more
fields for an address match (including house number, street, city, country/region, and postal code),
the relevance score is closer to 1.
Returned only when the partner selected is Esri.
Copyright © 2022. All rights reserved.