Udostępnij za pośrednictwem


MtpDevice.GetObjectInfo(Int32) Method

Definition

Retrieves the MtpObjectInfo for an object.

[Android.Runtime.Register("getObjectInfo", "(I)Landroid/mtp/MtpObjectInfo;", "")]
public Android.Mtp.MtpObjectInfo? GetObjectInfo (int objectHandle);
[<Android.Runtime.Register("getObjectInfo", "(I)Landroid/mtp/MtpObjectInfo;", "")>]
member this.GetObjectInfo : int -> Android.Mtp.MtpObjectInfo

Parameters

objectHandle
Int32

the handle of the object

Returns

the MtpObjectInfo, or null if fetching object info fails

Attributes

Remarks

Retrieves the MtpObjectInfo for an object.

Java documentation for android.mtp.MtpDevice.getObjectInfo(int).

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