Aracılığıyla paylaş


Location.Altitude Property

Definition

The altitude of this location in meters above the WGS84 reference ellipsoid. -or- Set the altitude of this location in meters above the WGS84 reference ellipsoid.

public virtual double Altitude { [Android.Runtime.Register("getAltitude", "()D", "GetGetAltitudeHandler")] get; [Android.Runtime.Register("setAltitude", "(D)V", "GetSetAltitude_DHandler")] set; }
[<get: Android.Runtime.Register("getAltitude", "()D", "GetGetAltitudeHandler")>]
[<set: Android.Runtime.Register("setAltitude", "(D)V", "GetSetAltitude_DHandler")>]
member this.Altitude : double with get, set

Property Value

altitude of this location

Attributes

Remarks

Property getter documentation:

The altitude of this location in meters above the WGS84 reference ellipsoid.

This is only valid if #hasAltitude() is true.

Java documentation for android.location.Location.getAltitude().

Property setter documentation:

Set the altitude of this location in meters above the WGS84 reference ellipsoid.

Java documentation for android.location.Location.setAltitude(double).

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.

Applies to