Android Guides | Samples

Android.Views.InputEvent Class

Common base class for input events.

See Also: InputEvent

Syntax

[Android.Runtime.Register("android/view/InputEvent", DoNotGenerateAcw=true)]
public abstract class InputEvent : Object, IParcelable, IDisposable

Remarks

Common base class for input events.

[Android Documentation]

Requirements

Namespace: Android.Views
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 9

The members of Android.Views.InputEvent are listed below.

See Also: Object

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

Public Properties

[read-only]
static
CreatorIParcelableCreator.
[read-only]
DeviceInputDevice. Gets the device that this event came from.
[read-only]
abstract
DeviceIdInt32. Gets the id for the device that this event came from.
[read-only]
abstract
EventTimeInt64. Retrieve the time this event occurred, in the SystemClock.UptimeMillis time base.
[read-only]
abstract
SourceInputSourceType. Gets the source of the event.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

DescribeContents() : Int32
Describe the kinds of special objects contained in this Parcelable's marshalled representation.
IsFromSource(InputSourceType) : Boolean
Determines whether the event is from the given source.
abstract
WriteToParcel(Parcel, ParcelableWriteFlags)