AltitudeConverter.AddMslAltitudeToLocation(Context, Location) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds a Mean Sea Level altitude to the location
.
[Android.Runtime.Register("addMslAltitudeToLocation", "(Landroid/content/Context;Landroid/location/Location;)V", "", ApiSince=34)]
public void AddMslAltitudeToLocation (Android.Content.Context context, Android.Locations.Location location);
[<Android.Runtime.Register("addMslAltitudeToLocation", "(Landroid/content/Context;Landroid/location/Location;)V", "", ApiSince=34)>]
member this.AddMslAltitudeToLocation : Android.Content.Context * Android.Locations.Location -> unit
Parameters
- context
- Context
- location
- Location
- Attributes
Remarks
Adds a Mean Sea Level altitude to the location
. In addition, adds a Mean Sea Level altitude accuracy if the location
has a finite and non-negative vertical accuracy; otherwise, does not add a corresponding accuracy.
Must be called off the main thread as data may be loaded from raw assets.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.