Udostępnij za pośrednictwem


Location.MslAltitudeMeters Property

Definition

Returns the Mean Sea Level altitude of this location in meters. -or- Sets the Mean Sea Level altitude of this location in meters.

public virtual double MslAltitudeMeters { [Android.Runtime.Register("getMslAltitudeMeters", "()D", "GetGetMslAltitudeMetersHandler", ApiSince=34)] get; [Android.Runtime.Register("setMslAltitudeMeters", "(D)V", "GetSetMslAltitudeMeters_DHandler", ApiSince=34)] set; }
[<get: Android.Runtime.Register("getMslAltitudeMeters", "()D", "GetGetMslAltitudeMetersHandler", ApiSince=34)>]
[<set: Android.Runtime.Register("setMslAltitudeMeters", "(D)V", "GetSetMslAltitudeMeters_DHandler", ApiSince=34)>]
member this.MslAltitudeMeters : double with get, set

Property Value

Attributes

Remarks

Property getter documentation:

Returns the Mean Sea Level altitude of this location in meters.

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

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

Property setter documentation:

Sets the Mean Sea Level altitude of this location in meters.

Java documentation for android.location.Location.setMslAltitudeMeters(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