Stay organized with collections
Save and categorize content based on your preferences.
android.mtp
Classes
MtpConstants |
A class containing constants in the MTP and PTP specifications.
|
MtpDevice |
This class represents an MTP or PTP device connected on the USB host bus.
|
MtpDeviceInfo |
This class encapsulates information about an MTP device.
|
MtpEvent |
This class encapsulates information about a MTP event.
|
MtpObjectInfo |
This class encapsulates information about an object on an MTP device.
|
MtpStorageInfo |
This class encapsulates information about a storage unit on an MTP device.
|
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[null,null,["Last updated 2025-02-10 UTC."],[],[],null,["# android.mtp\n===========\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/mtp/package-summary \"View this page in Java\")\n\nClasses\n-------\n\n|----------------------------------------------------------------|----------------------------------------------------------------------------|\n| [MtpConstants](/reference/kotlin/android/mtp/MtpConstants) | A class containing constants in the MTP and PTP specifications. |\n| [MtpDevice](/reference/kotlin/android/mtp/MtpDevice) | This class represents an MTP or PTP device connected on the USB host bus. |\n| [MtpDeviceInfo](/reference/kotlin/android/mtp/MtpDeviceInfo) | This class encapsulates information about an MTP device. |\n| [MtpEvent](/reference/kotlin/android/mtp/MtpEvent) | This class encapsulates information about a MTP event. |\n| [MtpObjectInfo](/reference/kotlin/android/mtp/MtpObjectInfo) | This class encapsulates information about an object on an MTP device. |\n| [MtpStorageInfo](/reference/kotlin/android/mtp/MtpStorageInfo) | This class encapsulates information about a storage unit on an MTP device. |"]]