SearchAddress

data class SearchAddress(houseNumber: String?, street: String?, neighborhood: String?, locality: String?, postcode: String?, place: String?, district: String?, region: String?, country: String?) : Parcelable

Represents address of the search result.

Constructors

SearchAddress
Link copied to clipboard
fun SearchAddress(houseNumber: String? = null, street: String? = null, neighborhood: String? = null, locality: String? = null, postcode: String? = null, place: String? = null, district: String? = null, region: String? = null, country: String? = null)

Types

FormatComponent
Link copied to clipboard
enum FormatComponent : Enum<SearchAddress.FormatComponent>
Values for specifying the portions of the address to be included in the formatted address string.
FormatStyle
Link copied to clipboard
sealed class FormatStyle
Describes how detailed should be formatted address in string representation.

Functions

component1
Link copied to clipboard
operator fun component1(): String?
component2
Link copied to clipboard
operator fun component2(): String?
component3
Link copied to clipboard
operator fun component3(): String?
component4
Link copied to clipboard
operator fun component4(): String?
component5
Link copied to clipboard
operator fun component5(): String?
component6
Link copied to clipboard
operator fun component6(): String?
component7
Link copied to clipboard
operator fun component7(): String?
component8
Link copied to clipboard
operator fun component8(): String?
component9
Link copied to clipboard
operator fun component9(): String?
copy
Link copied to clipboard
fun copy(houseNumber: String? = null, street: String? = null, neighborhood: String? = null, locality: String? = null, postcode: String? = null, place: String? = null, district: String? = null, region: String? = null, country: String? = null): SearchAddress
describeContents
Link copied to clipboard
abstract fun describeContents(): Int
equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
formattedAddress
Link copied to clipboard
fun formattedAddress(style: SearchAddress.FormatStyle = FormatStyle.Medium): String?
Formats address.
hashCode
Link copied to clipboard
open override fun hashCode(): Int
toString
Link copied to clipboard
open override fun toString(): String
writeToParcel
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)

Properties

country
Link copied to clipboard
val country: String? = null
Address country.
district
Link copied to clipboard
val district: String? = null
Address district.
houseNumber
Link copied to clipboard
val houseNumber: String? = null
Address house number.
locality
Link copied to clipboard
val locality: String? = null
Address locality.
neighborhood
Link copied to clipboard
val neighborhood: String? = null
Address neighborhood.
place
Link copied to clipboard
val place: String? = null
Address place.
postcode
Link copied to clipboard
val postcode: String? = null
Address postcode.
region
Link copied to clipboard
val region: String? = null
Address region.
street
Link copied to clipboard
val street: String? = null
Address street.