次の方法で共有


View.DispatchGenericPointerEvent(MotionEvent) Method

Definition

Dispatch a generic motion event to the view under the first pointer.

[Android.Runtime.Register("dispatchGenericPointerEvent", "(Landroid/view/MotionEvent;)Z", "GetDispatchGenericPointerEvent_Landroid_view_MotionEvent_Handler")]
protected virtual bool DispatchGenericPointerEvent (Android.Views.MotionEvent? e);
[<Android.Runtime.Register("dispatchGenericPointerEvent", "(Landroid/view/MotionEvent;)Z", "GetDispatchGenericPointerEvent_Landroid_view_MotionEvent_Handler")>]
abstract member DispatchGenericPointerEvent : Android.Views.MotionEvent -> bool
override this.DispatchGenericPointerEvent : Android.Views.MotionEvent -> bool

Parameters

e
MotionEvent

The motion event to be dispatched.

Returns

True if the event was handled by the view, false otherwise.

Attributes

Remarks

Dispatch a generic motion event to the view under the first pointer.

Do not call this method directly. Call #dispatchGenericMotionEvent(MotionEvent) instead.

Java documentation for android.view.View.dispatchGenericPointerEvent(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