LocationOptions

Location updates related config.

Parameters

request

LocationProviderRequest that will be used for creating LocationProvider.

locationProviderFactory

a lambda that creates custom location provider based on a request. If not set, default location provider is used. Note that locationProviderFactory can only be set together with an explicit locationProviderType.

locationProviderType

set together with custom locationProviderFactory. This parameters tells the SDK what is the nature of locations that custom location provider will emit. Can be one of the values listed in LocationProviderType.Type.

Types

Link copied to clipboard
class Builder

A builder class for LocationOptions.

Link copied to clipboard
object Companion
Link copied to clipboard

Type of a location provider.

Properties

Link copied to clipboard
val locationProviderFactory: DeviceLocationProviderFactory?
Link copied to clipboard
Link copied to clipboard
val request: LocationProviderRequest

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean

Indicates whether some other object is "equal to" this one.

Link copied to clipboard
open override fun hashCode(): Int

Returns a hash code value for the object.

Link copied to clipboard
open override fun toString(): String

Returns a string representation of the object.