sdk-search / com.tomtom.online.sdk.search.data.autocomplete.response / ContextDescriptor

ContextDescriptor

open class ContextDescriptor : Serializable

Result of an AutocompleteSearchQuery

Constructors

<init>

ContextDescriptor()

Empty constructor for the ContextDescriptor.

ContextDescriptor(inputQuery: String!, geoBias: GeoBias!)

Default constructor for the ContextDescriptor.

Properties

geoBias

var geoBias: GeoBias!

The geo bias passed to the autocomplete engine by setting the position ([lat], [lon]) and [radius] parameters.

inputQuery

var inputQuery: String!

Query passed to the autocomplete engine.

Functions

getGeoBias

open fun getGeoBias(): GeoBias!

Returns the geo bias passed to the autocomplete engine by setting the position ([lat], [lon]) and [radius] parameters.

getInputQuery

open fun getInputQuery(): String!

Returns the query passed to the autocomplete engine.

toString

open fun toString(): String