MtpDevice.SendObject(Int32, Int64, ParcelFileDescriptor) Method

Definition

Copies the data for an object from a file descriptor.

[Android.Runtime.Register("sendObject", "(IJLandroid/os/ParcelFileDescriptor;)Z", "", ApiSince=24)]
public bool SendObject (int objectHandle, long size, Android.OS.ParcelFileDescriptor descriptor);
[<Android.Runtime.Register("sendObject", "(IJLandroid/os/ParcelFileDescriptor;)Z", "", ApiSince=24)>]
member this.SendObject : int * int64 * Android.OS.ParcelFileDescriptor -> bool

Parameters

objectHandle
Int32

handle of the target file

size
Int64

size of the file in bytes

descriptor
ParcelFileDescriptor

file descriptor to read the data from.

Returns

Boolean

true if the file transfer succeeds

Attributes

Remarks

Java documentation for android.mtp.MtpDevice.sendObject(int, long, android.os.ParcelFileDescriptor).

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