共用方式為


Location.HasAltitude Property

Definition

Returns true if this location has an altitude, false otherwise.

public virtual bool HasAltitude { [Android.Runtime.Register("hasAltitude", "()Z", "GetHasAltitudeHandler")] get; }
[<get: Android.Runtime.Register("hasAltitude", "()Z", "GetHasAltitudeHandler")>]
member this.HasAltitude : bool

Property Value

Attributes

Remarks

Returns true if this location has an altitude, false otherwise.

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

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