setSpeedAccuracyMetersPerSecond
open fun setSpeedAccuracyMetersPerSecond(@NonNull location: @NonNull Location, speedAccuracyMps: Float)(source)
Set the estimated speed accuracy of this location in meters per second.
NOTE: On API levels below 26, the concept of speed accuracy does not exist. In order to allow for backwards compatibility and testing however, this method will attempt to set a float extra with the key EXTRA_SPEED_ACCURACY to include speed accuracy. Be aware that this will overwrite any prior extra value under the same key.