setVerticalAccuracyMeters
open fun setVerticalAccuracyMeters(@NonNull location: @NonNull Location, verticalAccuracyM: Float)(source)
Set the estimated vertical accuracy of this location in meters.
NOTE: On API levels below 26, the concept of vertical 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_VERTICAL_ACCURACY to include vertical accuracy. Be aware that this will overwrite any prior extra value under the same key.