语言

MtpObjectInfo.AssociationType 属性

定义

返回 MTP 对象的关联类型为非格式的零对象 android.mtp.MtpConstants#FORMAT_ASSOCIATION 对于目录,关联类型通常为 android.mtp.MtpConstants#ASSOCIATION_TYPE_GENERIC_FOLDER

public Android.Mtp.AssociationType AssociationType { [Android.Runtime.Register("getAssociationType", "()I", "")] get; }
[<get: Android.Runtime.Register("getAssociationType", "()I", "")>]
member this.AssociationType : Android.Mtp.AssociationType

属性值

对象的关联类型

特性

注解

返回 MTP 对象的关联类型为零对象,对于目录,关联类型通常不是格式 android.mtp.MtpConstants#FORMAT_ASSOCIATION 的零对象 android.mtp.MtpConstants#ASSOCIATION_TYPE_GENERIC_FOLDER

Java文档android.mtp.MtpObjectInfo.getAssociationType()。

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

适用于