OfflineSearchOptions

class OfflineSearchOptions @JvmOverloads() constructor(proximity: Point?, limit: Int?, origin: Point?) : Parcelable

Options for the offline search.

See also

Constructors

OfflineSearchOptions
Link copied to clipboard
fun OfflineSearchOptions(proximity: Point? = null, limit: Int? = null, origin: Point? = null)

Types

Builder
Link copied to clipboard
class Builder
Builder for OfflineSearchOptions instance creation.

Functions

copy
Link copied to clipboard
fun copy(proximity: Point? = this.proximity, limit: Int? = this.limit, origin: Point? = this.origin): OfflineSearchOptions
Creates new OfflineSearchOptions from current instance.
describeContents
Link copied to clipboard
abstract fun describeContents(): Int
toBuilder
Link copied to clipboard
fun toBuilder(): OfflineSearchOptions.Builder
Creates new OfflineSearchOptions.Builder from current OfflineSearchOptions instance.
writeToParcel
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)

Properties

limit
Link copied to clipboard
val limit: Int? = null
Specify the maximum number of results to return.
origin
Link copied to clipboard
val origin: Point? = null
Search origin point, used to calculate the distance to the search result.
proximity
Link copied to clipboard
val proximity: Point? = null
Bias the response to favor results that are closer to this location, provided as Point.