Share via


LocationProvider.SupportsAltitude Method

Definition

Returns true if the provider is able to provide altitude information, false otherwise.

[Android.Runtime.Register("supportsAltitude", "()Z", "GetSupportsAltitudeHandler")]
public virtual bool SupportsAltitude ();
[<Android.Runtime.Register("supportsAltitude", "()Z", "GetSupportsAltitudeHandler")>]
abstract member SupportsAltitude : unit -> bool
override this.SupportsAltitude : unit -> bool

Returns

Attributes

Remarks

Returns true if the provider is able to provide altitude information, false otherwise. A provider that reports altitude under most circumstances but may occassionally not report it should return true.

Java documentation for android.location.LocationProvider.supportsAltitude().

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