sdk-search / com.tomtom.online.sdk.search.data.fuzzy / FuzzySearchResult

FuzzySearchResult

open class FuzzySearchResult : Serializable

The result of a Search query.

Constructors

<init>

FuzzySearchResult()

Empty constructor for the FuzzySearchResult.

FuzzySearchResult(type: String!, id: String!, score: Double, address: Address!, position: LatLng!, viewport: BoundingBox!, distance: Double, info: String!, entityType: String!, poi: Poi!, boundingBox: BoundingBox!, entryPoints: Array<EntryPoint!>!, addressRanges: AddressRanges!, additionalDataSources: AdditionalDataSources!, mapCodes: Array<MapCode!>!, relatedPois: Array<RelatedPoi!>!)

Default constructor for the FuzzySearchResult.

Properties

additionalDataSources

var additionalDataSources: AdditionalDataSources!

Information about the sources of additional data that can be used with the Additional Data service. -- GETTER --

address

var address: Address!

The detailed address of the result. -- GETTER --

addressRanges

var addressRanges: AddressRanges!

Address ranges on a street segment. Only available for results where the result type is equal to "Address Range". -- GETTER --

boundingBox

var boundingBox: BoundingBox!

An rectangle into which the shape of an administrative area is inscribed. Only available for results where the result type is equal to "Geography", and municipality information is not present. -- GETTER --

distance

var distance: Double

The distance from the route provided in the Request. -- GETTER --

entityType

var entityType: String!

(Only for results of type "Geography") The type of the entity (one of "County", "CountrySubdivision", "CountrySecondarySubdivision", "CountryTeritarySubdivision", "Municipality", "MunicipalitySubdivision", "Neighbourhood", "PostalCodeArea"). -- GETTER --

entryPoints

var entryPoints: Array<EntryPoint!>!

A list of entrances to the POI. -- GETTER --

id

var id: String!

The id of the result. -- GETTER --

info

var info: String!

Additional info. -- GETTER --

mapCodes

var mapCodes: Array<MapCode!>!

A list of MapCode objects.

poi

var poi: Poi!

Information about the POI. -- GETTER --

position

var position: LatLng!

The geographical position of the POI. -- GETTER --

relatedPois

var relatedPois: Array<RelatedPoi!>!

A list of RelatedPoi objects.

score

var score: Double

The score of the result. -- GETTER --

type

var type: String!

The type of result (should always be "POI" (Points of Interest)). -- GETTER --

viewport

var viewport: BoundingBox!

The viewport. -- GETTER --

Functions

getMapCodes

open fun getMapCodes(): ImmutableList<MapCode!>!

getRelatedPois

open fun getRelatedPois(): ImmutableList<RelatedPoi!>!