Share via


MtpEvent Class

Definition

This class encapsulates information about a MTP event.

[Android.Runtime.Register("android/mtp/MtpEvent", ApiSince=24, DoNotGenerateAcw=true)]
public class MtpEvent : Java.Lang.Object
[<Android.Runtime.Register("android/mtp/MtpEvent", ApiSince=24, DoNotGenerateAcw=true)>]
type MtpEvent = class
    inherit Object
Inheritance
MtpEvent
Attributes

Remarks

This class encapsulates information about a MTP event. This corresponds to the events described in appendix G of the MTP specification.

Java documentation for android.mtp.MtpEvent.

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.

Constructors

MtpEvent(IntPtr, JniHandleOwnership)

Fields

EventCancelTransaction
Obsolete.

Event code for CANCEL_TRANSACTION event

EventCaptureComplete
Obsolete.

Event code for CAPTURE_COMPLETE event

EventDeviceInfoChanged
Obsolete.

Event code for DEVICE_INFO_CHANGED event

EventDevicePropChanged
Obsolete.

Event code for DEVICE_PROP_CHANGED event

EventDeviceReset
Obsolete.

Event code for DEVICE_RESET event

EventObjectAdded
Obsolete.

Event code for OBJECT_ADDED event

EventObjectInfoChanged
Obsolete.

Event code for OBJECT_INFO_CHANGED event

EventObjectPropChanged
Obsolete.

Event code for OBJECT_PROP_CHANGED event

EventObjectPropDescChanged
Obsolete.

Event code for OBJECT_PROP_DESC_CHANGED event

EventObjectReferencesChanged
Obsolete.

Event code for OBJECT_REFERENCES_CHANGED event

EventObjectRemoved
Obsolete.

Event code for OBJECT_REMOVED event

EventRequestObjectTransfer
Obsolete.

Event code for REQUEST_OBJECT_TRANSFER event

EventStorageInfoChanged
Obsolete.

Event code for STORAGE_INFO_CHANGED event

EventStoreAdded
Obsolete.

Event code for STORE_ADDED event

EventStoreFull
Obsolete.

Event code for STORE_FULL event

EventStoreRemoved
Obsolete.

Event code for STORE_REMOVED event

EventUndefined
Obsolete.

Event code for UNDEFINED event

EventUnreportedStatus
Obsolete.

Event code for UNREPORTED_STATUS event

Properties

Class

Returns the runtime class of this Object.

(Inherited from Object)
DevicePropCode

Obtains devicePropCode event parameter.

EventCode

Returns event code of MTP event.

Handle

The handle to the underlying Android instance.

(Inherited from Object)
JniIdentityHashCode (Inherited from Object)
JniPeerMembers
ObjectFormatCode

Obtains objectFormatCode event parameter.

ObjectHandle

Obtains objectHandle event parameter.

ObjectPropCode

Obtains objectPropCode event parameter.

Parameter1

Obtains the first event parameter.

Parameter2

Obtains the second event parameter.

Parameter3

Obtains the third event parameter.

PeerReference (Inherited from Object)
StorageId

Obtains storageID event parameter.

ThresholdClass
ThresholdType
TransactionId

Obtains transactionID event parameter.

Methods

Clone()

Creates and returns a copy of this object.

(Inherited from Object)
Dispose() (Inherited from Object)
Dispose(Boolean) (Inherited from Object)
Equals(Object)

Indicates whether some other object is "equal to" this one.

(Inherited from Object)
GetHashCode()

Returns a hash code value for the object.

(Inherited from Object)
JavaFinalize()

Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.

(Inherited from Object)
Notify()

Wakes up a single thread that is waiting on this object's monitor.

(Inherited from Object)
NotifyAll()

Wakes up all threads that are waiting on this object's monitor.

(Inherited from Object)
SetHandle(IntPtr, JniHandleOwnership)

Sets the Handle property.

(Inherited from Object)
ToArray<T>() (Inherited from Object)
ToString()

Returns a string representation of the object.

(Inherited from Object)
UnregisterFromRuntime() (Inherited from Object)
Wait()

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>.

(Inherited from Object)
Wait(Int64, Int32)

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>, or until a certain amount of real time has elapsed.

(Inherited from Object)
Wait(Int64)

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>, or until a certain amount of real time has elapsed.

(Inherited from Object)

Explicit Interface Implementations

IJavaPeerable.Disposed() (Inherited from Object)
IJavaPeerable.DisposeUnlessReferenced() (Inherited from Object)
IJavaPeerable.Finalized() (Inherited from Object)
IJavaPeerable.JniManagedPeerState (Inherited from Object)
IJavaPeerable.SetJniIdentityHashCode(Int32) (Inherited from Object)
IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates) (Inherited from Object)
IJavaPeerable.SetPeerReference(JniObjectReference) (Inherited from Object)

Extension Methods

JavaCast<TResult>(IJavaObject)

Performs an Android runtime-checked type conversion.

JavaCast<TResult>(IJavaObject)
GetJniTypeName(IJavaPeerable)

Applies to