SystemLocationDataSource

constructor(criteria: Criteria? = null, userProvider: String? = null, minimumUpdateTimeMs: Long = 100, minimumUpdateDistance: Float = 0.0f)

Creates a SystemLocationDataSource.

Since

200.1.0

Parameters

criteria

criteria for selecting a location provider

userProvider

a specific provider to use with this SystemLocationDataSource

minimumUpdateTimeMs

the minimum time interval at which location updates should be received, in milliseconds. Must be >= 0.

minimumUpdateDistance

the minimum distance between which location updates should be received, in meters. Must be >= 0.

Throws