Expand description
MTP / PTP response codes (ResponseCode).
Constantsยง
- ACCESS_
DENIED - Access to the object or storage was denied.
- CAPTURE_
ALREADY_ TERMINATED - Capture operation was already terminated.
- DEVICE_
BUSY - Device is busy processing another operation or cancellation.
- DEVICE_
PROP_ NOT_ SUPPORTED - Device property code is not supported.
- GENERAL_
ERROR - Unspecified general error.
- INCOMPLETE_
TRANSFER - Transfer ended before completion.
- INVALID_
CODE_ FORMAT - Code format is invalid.
- INVALID_
DEVICE_ PROP_ FORMAT - Device property format is invalid.
- INVALID_
DEVICE_ PROP_ VALUE - Device property value is invalid.
- INVALID_
OBJECT_ FORMAT_ CODE - Object format code is invalid or unsupported.
- INVALID_
OBJECT_ HANDLE - Specified
ObjectHandledoes not exist. - INVALID_
OBJECT_ PROP_ CODE - Object property code is invalid.
- INVALID_
OBJECT_ PROP_ FORMAT - Object property format is invalid.
- INVALID_
OBJECT_ PROP_ VALUE - Object property value is invalid.
- INVALID_
OBJECT_ REFERENCE - Object reference is invalid.
- INVALID_
PARAMETER - Invalid parameter value.
- INVALID_
PARENT_ OBJECT - Specified
ParentObjecthandle is invalid or not an association. - INVALID_
STORAGE_ ID - Specified
StorageIDdoes not exist. - INVALID_
TRANSACTION_ ID - Transaction ID is invalid or out of sequence.
- NO_
THUMBNAIL_ PRESENT - Object has no thumbnail.
- NO_
VALID_ OBJECT_ INFO SendObjectwas issued without a precedingSendObjectInfo.- OBJECT_
PROP_ NOT_ SUPPORTED - Object property is not supported for this format.
- OBJECT_
WRITE_ PROTECTED - Object is write-protected.
- OK
- Operation completed successfully.
- OPERATION_
NOT_ SUPPORTED - Operation is not supported by this device.
- PARAMETER_
NOT_ SUPPORTED - One or more parameters are not supported.
- PARTIAL_
DELETION - Only part of an association/tree could be deleted.
- SELF_
TEST_ FAILED - Device self-test failed.
- SESSION_
ALREADY_ OPEN - A session is already open.
- SESSION_
NOT_ OPEN - No MTP session is currently open.
- SPECIFICATION_
BY_ FORMAT_ UNSUPPORTED - Filtering by format is unsupported.
- SPECIFICATION_
OF_ DESTINATION_ UNSUPPORTED - Destination specification is unsupported.
- STORE_
FULL - Storage volume does not have enough free space.
- STORE_
NOT_ AVAILABLE - Storage volume is currently unavailable.
- STORE_
READ_ ONLY - Storage volume is read-only.
- TRANSACTION_
CANCELLED - Transaction was cancelled by the host.
- UNDEFINED
- Undefined response.
- UNKNOWN_
VENDOR_ CODE - Vendor code is unknown.