Udostępnij za pośrednictwem


ExifInterface.GetAltitude(Double) Method

Definition

Return the altitude in meters.

[Android.Runtime.Register("getAltitude", "(D)D", "GetGetAltitude_DHandler")]
public virtual double GetAltitude (double defaultValue);
[<Android.Runtime.Register("getAltitude", "(D)D", "GetGetAltitude_DHandler")>]
abstract member GetAltitude : double -> double
override this.GetAltitude : double -> double

Parameters

defaultValue
Double

the value to return if the tag is not available.

Returns

Attributes

Remarks

Return the altitude in meters. If the exif tag does not exist, return <var>defaultValue</var>.

Java documentation for android.media.ExifInterface.getAltitude(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