ExifInterface.GetAttributeDouble(String, Double) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the double value of the tag that is specified as rational or contains a double-formatted value.
[Android.Runtime.Register("getAttributeDouble", "(Ljava/lang/String;D)D", "GetGetAttributeDouble_Ljava_lang_String_DHandler")]
public virtual double GetAttributeDouble (string tag, double defaultValue);
[<Android.Runtime.Register("getAttributeDouble", "(Ljava/lang/String;D)D", "GetGetAttributeDouble_Ljava_lang_String_DHandler")>]
abstract member GetAttributeDouble : string * double -> double
override this.GetAttributeDouble : string * double -> double
Parameters
- tag
- String
the name of the tag.
- defaultValue
- Double
the value to return if the tag is not available.
Returns
- Attributes
Remarks
Returns the double value of the tag that is specified as rational or contains a double-formatted value. If there is no such tag in the image file or the value cannot be parsed as double, return <var>defaultValue</var>.
Java documentation for android.media.ExifInterface.getAttributeDouble(java.lang.String, 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.