setBearingAccuracyDegrees

open fun setBearingAccuracyDegrees(@NonNull location: @NonNull Location, bearingAccuracyD: Float)(source)

Set the estimated bearing accuracy of this location in degrees.

NOTE: On API levels below 26, the concept of bearing 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_BEARING_ACCURACY to include bearing accuracy. Be aware that this will overwrite any prior extra value under the same key.

See also