语言

ExifInterface.GetAttributeBytes(String) 方法

定义

返回图像文件中所请求标记的值的原始字节,或者 null 如果未包含标记。

[Android.Runtime.Register("getAttributeBytes", "(Ljava/lang/String;)[B", "GetGetAttributeBytes_Ljava_lang_String_Handler", ApiSince=29)]
public virtual byte[]? GetAttributeBytes(string tag);
[<Android.Runtime.Register("getAttributeBytes", "(Ljava/lang/String;)[B", "GetGetAttributeBytes_Ljava_lang_String_Handler", ApiSince=29)>]
abstract member GetAttributeBytes : string -> byte[]
override this.GetAttributeBytes : string -> byte[]

参数

tag
String

请求其存储值字节的非 null EXIF 标记名称。

返回

Byte[]

所请求标记的值的原始字节,或者 null 找不到任何标记。

特性

注解

返回图像文件中所请求标记的值的原始字节,或者 null 如果未包含标记。

Java文档android.media.ExifInterface.getAttributeBytes(java.lang.String)。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于