语言

ExifInterface.GetAttributeRange(String) 方法

定义

返回图像文件中所请求标记的偏移量和长度,或者 null 标记不包含。

[Android.Runtime.Register("getAttributeRange", "(Ljava/lang/String;)[J", "GetGetAttributeRange_Ljava_lang_String_Handler", ApiSince=29)]
public virtual long[]? GetAttributeRange(string tag);
[<Android.Runtime.Register("getAttributeRange", "(Ljava/lang/String;)[J", "GetGetAttributeRange_Ljava_lang_String_Handler", ApiSince=29)>]
abstract member GetAttributeRange : string -> int64[]
override this.GetAttributeRange : string -> int64[]

参数

tag
String

请求原始字节偏移量和存储长度的非 null EXIF 标记名称。

返回

Int64[]

双元素数组、第一个值中的偏移量和第二个值中的长度,或者 null 找不到任何标记。

特性

注解

返回图像文件中所请求标记的偏移量和长度,或者 null 标记不包含。

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

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

适用于