MtpObjectInfo.AssociationType Property

Definition

Returns the association type for the MTP object Will be zero objects that are not of format android.mtp.MtpConstants#FORMAT_ASSOCIATION For directories the association type is typically 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

Property Value

the object's association type

Attributes

Remarks

Returns the association type for the MTP object Will be zero objects that are not of format android.mtp.MtpConstants#FORMAT_ASSOCIATION For directories the association type is typically android.mtp.MtpConstants#ASSOCIATION_TYPE_GENERIC_FOLDER

Java documentation for android.mtp.MtpObjectInfo.getAssociationType().

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