MtpDevice.SendObject(Int32, Int64, ParcelFileDescriptor) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.