DefaultSourceProvider

constructor(locationProviderSource: LocationOptions.LocationProviderSource, locationProviderRequest: LocationProviderRequest = LocationOptions.DEFAULT_REQUEST)

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.