DefaultSourceProvider

class DefaultSourceProvider(val locationProviderSource: LocationOptions.LocationProviderSource, val locationProviderRequest: LocationProviderRequest = LocationOptions.DEFAULT_REQUEST) : LocationConfig

Default location provider implementation.

Parameters

locationProviderSource

a LocationProviderSource that specifies which built-in location provider to use. These providers are always of type LocationProviderType.REAL and provide actual device location.

locationProviderRequest

a LocationProviderRequest that configures the location provider's behavior, including update intervals, accuracy requirements, and power consumption preferences. Defaults to LocationOptions.DEFAULT_REQUEST.

Constructors

Link copied to clipboard
constructor(locationProviderSource: LocationOptions.LocationProviderSource, locationProviderRequest: LocationProviderRequest = LocationOptions.DEFAULT_REQUEST)

Properties

Link copied to clipboard
val locationProviderRequest: LocationProviderRequest
Link copied to clipboard
val locationProviderSource: LocationOptions.LocationProviderSource

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.