Udostępnij za pośrednictwem


Window.ICallback.DispatchGenericMotionEvent(MotionEvent) Method

Definition

Called to process generic motion events.

[Android.Runtime.Register("dispatchGenericMotionEvent", "(Landroid/view/MotionEvent;)Z", "GetDispatchGenericMotionEvent_Landroid_view_MotionEvent_Handler:Android.Views.Window/ICallbackInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public bool DispatchGenericMotionEvent (Android.Views.MotionEvent e);
[<Android.Runtime.Register("dispatchGenericMotionEvent", "(Landroid/view/MotionEvent;)Z", "GetDispatchGenericMotionEvent_Landroid_view_MotionEvent_Handler:Android.Views.Window/ICallbackInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member DispatchGenericMotionEvent : Android.Views.MotionEvent -> bool

Parameters

e
MotionEvent

The generic motion event.

Returns

boolean Return true if this event was consumed.

Attributes

Remarks

Called to process generic motion events. At the very least your implementation must call android.view.Window#superDispatchGenericMotionEvent to do the standard processing.

Java documentation for android.view.Window.Callback.dispatchGenericMotionEvent(android.view.MotionEvent).

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