Udostępnij za pośrednictwem


ExifInterface.GetAttribute(String) Method

Definition

Returns the value of the specified tag or null if there is no such tag in the image file.

[Android.Runtime.Register("getAttribute", "(Ljava/lang/String;)Ljava/lang/String;", "GetGetAttribute_Ljava_lang_String_Handler")]
public virtual string? GetAttribute (string tag);
[<Android.Runtime.Register("getAttribute", "(Ljava/lang/String;)Ljava/lang/String;", "GetGetAttribute_Ljava_lang_String_Handler")>]
abstract member GetAttribute : string -> string
override this.GetAttribute : string -> string

Parameters

tag
String

the name of the tag.

Returns

Attributes

Remarks

Returns the value of the specified tag or null if there is no such tag in the image file.

Java documentation for android.media.ExifInterface.getAttribute(java.lang.String).

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