Android.Mtp.MtpDevice.GetObject Method
Returns the data for an object as a byte array.

Syntax

[Android.Runtime.Register("getObject", "(II)[B", "")]
public byte[] GetObject (int objectHandle, int objectSize)

Parameters

objectHandle
handle of the object to read
objectSize
the size of the object (this should match MtpObjectInfo.CompressedSize

Returns

Documentation for this section has not yet been entered.

Remarks

Returns the data for an object as a byte array. This call may block for an arbitrary amount of time depending on the size of the data and speed of the devices.

[Android Documentation]

Requirements

Namespace: Android.Mtp
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 12