Builder

class Builder

A builder class for LocationOptions.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
Link copied to clipboard
fun locationProviderFactory(locationProviderFactory: DeviceLocationProviderFactory, locationProviderType: String): LocationOptions.Builder

Set custom location provider implementation.

Link copied to clipboard
fun request(request: LocationProviderRequest): LocationOptions.Builder

Set LocationProviderRequest that will be used for creating LocationProvider. If not set, default request will be used (see DEFAULT_REQUEST).