Android.Views.MotionEvent: Property Members

The properties of Android.Views.MotionEvent are listed below. For a list of all members, see the MotionEvent Members list.

See Also: Inherited members from Android.Views.InputEvent

Public Properties

ActionMotionEventActions. Return the kind of action being performed.
[read-only]
ActionIndexint. For MotionEvent.ACTION_POINTER_DOWN or MotionEvent.ACTION_POINTER_UP as returned by MotionEvent.ActionMasked, this returns the associated pointer index.
[read-only]
ActionMaskedMotionEventActions. Return the masked action being performed, without pointer index information.
[read-only]
ButtonStateMotionEventButtonState. Gets the state of all buttons that are pressed such as a mouse or stylus button.
[read-only]
static
CreatorAndroid.OS.IParcelableCreator.
[read-only]
override
DeviceIdint. Gets the id for the device that this event came from.
[read-only]
DownTimelong. Returns the time (in ms) when the user originally pressed down to start a stream of position events.
EdgeFlagsEdge. Returns a bitfield indicating which edges, if any, were touched by this MotionEvent.
[read-only]
override
EventTimelong. Retrieve the time this event occurred, in the Android.OS.SystemClock.UptimeMillis time base.
[read-only]
FlagsMotionEventFlags. Gets the motion event flags.
[read-only]
HistorySizeint. Returns the number of historical points in this event.
[read-only]
MetaStateMetaKeyStates. Returns the state of any meta / modifier keys that were in effect when the event was generated.
[read-only]
Orientationfloat. MotionEvent.GetOrientation(int) for the first pointer index (may be an arbitrary pointer identifier).
[read-only]
PointerCountint. The number of pointers of data contained in this event.
[read-only]
Pressurefloat. MotionEvent.GetPressure(int) for the first pointer index (may be an arbitrary pointer identifier).
[read-only]
RawXfloat. Returns the original raw X coordinate of this event.
[read-only]
RawYfloat. Returns the original raw Y coordinate of this event.
[read-only]
Sizefloat. MotionEvent.GetSize(int) for the first pointer index (may be an arbitrary pointer identifier).
[read-only]
override
SourceInputSourceType. Gets the source of the event.
[read-only]
ToolMajorfloat. MotionEvent.GetToolMajor(int) for the first pointer index (may be an arbitrary pointer identifier).
[read-only]
ToolMinorfloat. MotionEvent.GetToolMinor(int) for the first pointer index (may be an arbitrary pointer identifier).
[read-only]
TouchMajorfloat. MotionEvent.GetTouchMajor(int) for the first pointer index (may be an arbitrary pointer identifier).
[read-only]
TouchMinorfloat. MotionEvent.GetTouchMinor(int) for the first pointer index (may be an arbitrary pointer identifier).
[read-only]
XPrecisionfloat. Return the precision of the X coordinates being reported.
[read-only]
YPrecisionfloat. Return the precision of the Y coordinates being reported.

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.