Loading media/java/android/mtp/MtpDevice.java +4 −1 Original line number Diff line number Diff line Loading @@ -22,7 +22,10 @@ import android.os.ParcelFileDescriptor; import android.util.Log; /** * This class represents an MTP or PTP device connected on the USB host bus. * This class represents an MTP or PTP device connected on the USB host bus. An application can * instantiate an object of this type, by referencing an attached {@link * android.hardware.usb.UsbDevice} and then use methods in this class to get information about the * device and objects stored on it, as well as open the connection and transfer data. */ public final class MtpDevice { Loading media/java/android/mtp/package.html 0 → 100644 +8 −0 Original line number Diff line number Diff line <html> <body> <p>Provides APIs that let you interact directly with connected cameras and other devices, using the PTP (Picture Transfer Protocol) subset of the MTP (Media Transfer Protocol) specification. Your application can receive notifications when devices are attached and removed, manage files and storage on those devices, and transfer files and metadata from the devices.</p> </body> </html> No newline at end of file Loading
media/java/android/mtp/MtpDevice.java +4 −1 Original line number Diff line number Diff line Loading @@ -22,7 +22,10 @@ import android.os.ParcelFileDescriptor; import android.util.Log; /** * This class represents an MTP or PTP device connected on the USB host bus. * This class represents an MTP or PTP device connected on the USB host bus. An application can * instantiate an object of this type, by referencing an attached {@link * android.hardware.usb.UsbDevice} and then use methods in this class to get information about the * device and objects stored on it, as well as open the connection and transfer data. */ public final class MtpDevice { Loading
media/java/android/mtp/package.html 0 → 100644 +8 −0 Original line number Diff line number Diff line <html> <body> <p>Provides APIs that let you interact directly with connected cameras and other devices, using the PTP (Picture Transfer Protocol) subset of the MTP (Media Transfer Protocol) specification. Your application can receive notifications when devices are attached and removed, manage files and storage on those devices, and transfer files and metadata from the devices.</p> </body> </html> No newline at end of file