SensorManager.GetAltitude(Single, Single) 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.
Computes the Altitude in meters from the atmospheric pressure and the pressure at sea level.
[Android.Runtime.Register("getAltitude", "(FF)F", "")]
public static float GetAltitude (float p0, float p);
[<Android.Runtime.Register("getAltitude", "(FF)F", "")>]
static member GetAltitude : single * single -> single
Parameters
- p0
- Single
pressure at sea level
- p
- Single
atmospheric pressure
Returns
Altitude in meters
- Attributes
Remarks
Java documentation for android.hardware.SensorManager.getAltitude(float, float).
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.