Builder

class Builder

Builder for OfflineSearchOptions instance creation.

Constructors

Builder
Link copied to clipboard
fun Builder()

Functions

build
Link copied to clipboard
fun build(): OfflineSearchOptions
Create OfflineSearchOptions instance from builder data.
limit
Link copied to clipboard
fun limit(limit: Int): OfflineSearchOptions.Builder
Specify the maximum number of results to return.
origin
Link copied to clipboard
fun origin(origin: Point): OfflineSearchOptions.Builder
Search origin point, used to calculate the distance to the search result.
proximity
Link copied to clipboard
fun proximity(proximity: Point?): OfflineSearchOptions.Builder
Bias the response to favor results that are closer to this location, provided as Point.