OperationCode Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Identifies MTP and PTP operations. The values correspond to the OPERATION_ constants in MtpConstants.java in Android 16 (android-16.0.0_r1). A code does not indicate that a device supports the operation.
public enum OperationCode
type OperationCode =
- Inheritance
-
OperationCode
Fields
| Name | Value | Description |
|---|---|---|
| GetDeviceInfo | 4097 | Operation code for GetDeviceInfo Android reference for 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. |
| OpenSession | 4098 | Operation code for OpenSession Android reference for 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. |
| CloseSession | 4099 | Operation code for CloseSession Android reference for 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. |
| GetStorageIDs | 4100 | Operation code for GetStorageIDs Android reference for 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. |
| GetStorageInfo | 4101 | Operation code for GetStorageInfo Android reference for 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. |
| GetNumObjects | 4102 | Operation code for GetNumObjects Android reference for 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. |
| GetObjectHandles | 4103 | Operation code for GetObjectHandles Android reference for 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. |
| GetObjectInfo | 4104 | Operation code for GetObjectInfo Android reference for 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. |
| GetObject | 4105 | Operation code for GetObject Android reference for 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. |
| GetThumb | 4106 | Operation code for GetThumb Android reference for 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. |
| DeleteObject | 4107 | Operation code for DeleteObject Android reference for 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. |
| SendObjectInfo | 4108 | Operation code for SendObjectInfo Android reference for 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. |
| SendObject | 4109 | Operation code for SendObject Android reference for 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. |
| InitiateCapture | 4110 | Operation code for InitiateCapture Android reference for 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. |
| FormatStore | 4111 | Operation code for FormatStore Android reference for 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. |
| ResetDevice | 4112 | Operation code for ResetDevice Android reference for 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. |
| SelfTest | 4113 | Operation code for SelfTest Android reference for 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. |
| SetObjectProtection | 4114 | Operation code for SetObjectProtection Android reference for 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. |
| PowerDown | 4115 | Operation code for PowerDown Android reference for 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. |
| GetDevicePropDesc | 4116 | Operation code for GetDevicePropDesc Android reference for 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. |
| GetDevicePropValue | 4117 | Operation code for GetDevicePropValue Android reference for 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. |
| SetDevicePropValue | 4118 | Operation code for SetDevicePropValue Android reference for 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. |
| ResetDevicePropValue | 4119 | Operation code for ResetDevicePropValue Android reference for 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. |
| TerminateOpenCapture | 4120 | Operation code for TerminateOpenCapture Android reference for 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. |
| MoveObject | 4121 | Operation code for MoveObject Android reference for 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. |
| CopyObject | 4122 | Operation code for CopyObject Android reference for 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. |
| GetPartialObject | 4123 | Operation code for GetPartialObject Android reference for 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. |
| InitiateOpenCapture | 4124 | Operation code for InitiateOpenCapture Android reference for 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. |
| GetPartialObject64 | 38337 | Operation code for GetPartialObject64 Android reference for 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. |
| GetObjectPropsSupported | 38913 | Operation code for GetObjectPropsSupported Android reference for 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. |
| GetObjectPropDesc | 38914 | Operation code for GetObjectPropDesc Android reference for 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. |
| GetObjectPropValue | 38915 | Operation code for GetObjectPropValue Android reference for 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. |
| SetObjectPropValue | 38916 | Operation code for SetObjectPropValue Android reference for 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. |
| GetObjectReferences | 38928 | Operation code for GetObjectReferences Android reference for 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. |
| SetObjectReferences | 38929 | Operation code for SetObjectReferences Android reference for 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. |
| Skip | 38944 | Operation code for Skip Android reference for 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. |
Remarks
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.