hasMslAltitudeAccuracy

open fun hasMslAltitudeAccuracy(@NonNull location: @NonNull Location): Boolean(source)

Returns true if the location has a Mean Sea Level altitude accuracy, false otherwise.

NOTE: On API levels below 34, the concept of Mean Sea Level altitude accuracy does not exist. In order to allow for backwards compatibility and testing however, this method will return true if an extra value is with the key EXTRA_MSL_ALTITUDE_ACCURACY.

See also