Search Address
class SearchAddress @JvmOverloads constructor(val houseNumber: String? = null, val street: String? = null, val neighborhood: String? = null, val locality: String? = null, val postcode: String? = null, val place: String? = null, val district: String? = null, val region: String? = null, val country: String? = null) : Parcelable
Represents address of the search result.
Constructors
Types
Link copied to clipboard
class Builder
Builder for comfortable creation of SearchAddress instance.
Link copied to clipboard
class FormatComponent
Values for specifying the portions of the address to be included in the formatted address string.
Link copied to clipboard
Describes how detailed should be formatted address in string representation.
Functions
Link copied to clipboard
fun copy(houseNumber: String? = this.houseNumber, street: String? = this.street, neighborhood: String? = this.neighborhood, locality: String? = this.locality, postcode: String? = this.postcode, place: String? = this.place, district: String? = this.district, region: String? = this.region, country: String? = this.country): SearchAddress
Creates new SearchAddress from current instance.
Link copied to clipboard
Link copied to clipboard
Formats address. Note that this function doesn't take into account locale and just concatenates address parts separated by a comma. The parts of the address used for formatting are determined by the formatting style.
Link copied to clipboard
Creates new SearchAddress.Builder from current SearchAddress instance.
Link copied to clipboard