Freigeben über


MtpDevice(UsbDevice) Constructor

Definition

MtpClient constructor

[Android.Runtime.Register(".ctor", "(Landroid/hardware/usb/UsbDevice;)V", "")]
public MtpDevice (Android.Hardware.Usb.UsbDevice device);
[<Android.Runtime.Register(".ctor", "(Landroid/hardware/usb/UsbDevice;)V", "")>]
new Android.Mtp.MtpDevice : Android.Hardware.Usb.UsbDevice -> Android.Mtp.MtpDevice

Parameters

device
UsbDevice

the android.hardware.usb.UsbDevice for the MTP or PTP device

Attributes

Remarks

MtpClient constructor

Java documentation for android.mtp.MtpDevice.MtpDevice(android.hardware.usb.UsbDevice).

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