Language

EventCode Enum

Definition

Identifies MTP events. The values correspond to the EVENT_ constants in MtpEvent.java in Android 16 (android-16.0.0_r1).

public enum EventCode
type EventCode = 
Inheritance
EventCode

Fields

Name Value Description
Undefined 16384

Event code for UNDEFINED event

Android reference for android.mtp.MtpEvent.EVENT_UNDEFINED.

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.

CancelTransaction 16385

Event code for CANCEL_TRANSACTION event

Android reference for android.mtp.MtpEvent.EVENT_CANCEL_TRANSACTION.

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.

ObjectAdded 16386

Event code for OBJECT_ADDED event

Android reference for android.mtp.MtpEvent.EVENT_OBJECT_ADDED.

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.

ObjectRemoved 16387

Event code for OBJECT_REMOVED event

Android reference for android.mtp.MtpEvent.EVENT_OBJECT_REMOVED.

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.

StoreAdded 16388

Event code for STORE_ADDED event

Android reference for android.mtp.MtpEvent.EVENT_STORE_ADDED.

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.

StoreRemoved 16389

Event code for STORE_REMOVED event

Android reference for android.mtp.MtpEvent.EVENT_STORE_REMOVED.

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.

DevicePropChanged 16390

Event code for DEVICE_PROP_CHANGED event

Android reference for android.mtp.MtpEvent.EVENT_DEVICE_PROP_CHANGED.

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.

ObjectInfoChanged 16391

Event code for OBJECT_INFO_CHANGED event

Android reference for android.mtp.MtpEvent.EVENT_OBJECT_INFO_CHANGED.

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.

DeviceInfoChanged 16392

Event code for DEVICE_INFO_CHANGED event

Android reference for android.mtp.MtpEvent.EVENT_DEVICE_INFO_CHANGED.

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.

RequestObjectTransfer 16393

Event code for REQUEST_OBJECT_TRANSFER event

Android reference for android.mtp.MtpEvent.EVENT_REQUEST_OBJECT_TRANSFER.

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.

StoreFull 16394

Event code for STORE_FULL event

Android reference for android.mtp.MtpEvent.EVENT_STORE_FULL.

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.

DeviceReset 16395

Event code for DEVICE_RESET event

Android reference for android.mtp.MtpEvent.EVENT_DEVICE_RESET.

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.

StorageInfoChanged 16396

Event code for STORAGE_INFO_CHANGED event

Android reference for android.mtp.MtpEvent.EVENT_STORAGE_INFO_CHANGED.

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.

CaptureComplete 16397

Event code for CAPTURE_COMPLETE event

Android reference for android.mtp.MtpEvent.EVENT_CAPTURE_COMPLETE.

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.

UnreportedStatus 16398

Event code for UNREPORTED_STATUS event

Android reference for android.mtp.MtpEvent.EVENT_UNREPORTED_STATUS.

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.

ObjectPropChanged 51201

Event code for OBJECT_PROP_CHANGED event

Android reference for android.mtp.MtpEvent.EVENT_OBJECT_PROP_CHANGED.

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.

ObjectPropDescChanged 51202

Event code for OBJECT_PROP_DESC_CHANGED event

Android reference for android.mtp.MtpEvent.EVENT_OBJECT_PROP_DESC_CHANGED.

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.

ObjectReferencesChanged 51203

Event code for OBJECT_REFERENCES_CHANGED event

Android reference for android.mtp.MtpEvent.EVENT_OBJECT_REFERENCES_CHANGED.

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.

Applies to