request Location Updates
fun requestLocationUpdates(criteria: Criteria? = null, provider: String? = null, minimumUpdateTimeMs: Long = 100, minimumUpdateDistance: Float = 0.0f): Result<Unit>
Changes the location update parameters to use the given provider and/or Criteria, minimum update frequency, and minimum location distance change. Applies only when this SystemLocationDataSource's status is LocationDataSourceStatus.Started.
Since
200.0.0
Parameters
criteria
criteria for selecting a location provider
provider
a specific provider to use
minimum Update Time Ms
the minimum time interval at which location updates should be received, in milliseconds. Must be >= 0.
minimum Update Distance
the minimum distance between which location updates should be received, in meters. Must be >= 0.