The members of Android.Mtp.MtpDevice are listed below.
See Also: Inherited members from Java.Lang.Object
MtpClient constructor |
[read-only] | DeviceId | int. Returns the USB ID of the USB device. |
[read-only] | DeviceInfo | MtpDeviceInfo. Returns the Android.Mtp.MtpDeviceInfo for this device |
[read-only] | DeviceName | string. Returns the name of the USB device This returns the same value as Android.Hardware.Usb.UsbDevice.DeviceName for the device's Android.Hardware.Usb.UsbDevice |
[read-only] override | ThresholdClass | IntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
[read-only] override | ThresholdType | Type. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
Close()Closes all resources related to the MtpDevice object. | ||
DeleteObject(int)Deletes an object on the device. | ||
DeleteObjectAsync(int)Documentation for this section has not yet been entered. | ||
GetObject(int, int)Returns the data for an object as a byte array. | ||
GetObjectAsync(int, int)Documentation for this section has not yet been entered. | ||
GetObjectHandles(int, MtpFormat, int)Returns the list of object handles for all objects on the given storage unit, with the given format and parent. | ||
GetObjectInfo(int)Retrieves the Android.Mtp.MtpObjectInfo for an object. | ||
GetParent(int)Retrieves the object handle for the parent of an object on the device. | ||
GetStorageId(int)Retrieves the ID of the storage unit containing the given object on the device. | ||
GetStorageIds()Returns the list of IDs for all storage units on this device Information about each storage unit can be accessed via MtpDevice.GetStorageInfo(int). | ||
GetStorageInfo(int)Retrieves the Android.Mtp.MtpStorageInfo for a storage unit. | ||
GetThumbnail(int)Returns the thumbnail data for an object as a byte array. | ||
GetThumbnailAsync(int)Documentation for this section has not yet been entered. | ||
ImportFile(int, string)Copies the data for an object to a file in external storage. | ||
ImportFileAsync(int, string)Documentation for this section has not yet been entered. | ||
Open(Android.Hardware.Usb.UsbDeviceConnection)Opens the MTP device. |