sdk-search / com.tomtom.online.sdk.search.data.common / AddressRanges

AddressRanges

open class AddressRanges : Serializable

The address ranges on a street segment retrieved via a Search request. Available only for results where the result type is equal to "Address Range".

Constructors

<init>

AddressRanges()

Empty constructor for the AddressRanges.

AddressRanges(rangeLeft: String!, rangeRight: String!, from: LatLng!, to: LatLng!)

Default constructor for the AddressRanges.

Properties

from

var from: LatLng!

The beginning point of a street segment.

rangeLeft

var rangeLeft: String!

An address range on the left side of a street segment (assuming looking from the "from" end towards the "to" end).

rangeRight

var rangeRight: String!

An address range on the right side of a street segment (assuming looking from the "from" end towards the "to" end).

to

var to: LatLng!

The end point of a street segment.

Functions

getFrom

open fun getFrom(): LatLng!

Returns the beginning point of a street segment.

getRangeLeft

open fun getRangeLeft(): String!

Returns an address range on the left side of a street segment.

getRangeRight

open fun getRangeRight(): String!

Returns an address range on the right side of a street segment.

getTo

open fun getTo(): LatLng!

Returns the end point of a street segment.

toString

open fun toString(): String