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

GeoBias

open class GeoBias : Serializable

The geo bias passed to the autocomplete engine by setting the position and radius parameters.

Constructors

<init>

GeoBias()

Empty constructor for the GeoBias.

GeoBias(position: LatLng!, radius: Int!)

Default constructor for the GeoBias.

Properties

position

var position: LatLng!

Position used to bias the results by setting the optional [lat] and [lon] request parameters.

radius

var radius: Int!

The optional [radius] (in meters) request parameter passed by the user.

Functions

getPosition

open fun getPosition(): LatLng!

Returns the radius request parameter.

getRadius

open fun getRadius(): Int!

Returns the position request parameter.

toString

open fun toString(): String