View.DispatchGenericMotionEvent(MotionEvent) 메서드

정의

제네릭 모션 이벤트를 디스패치합니다.

[Android.Runtime.Register("dispatchGenericMotionEvent", "(Landroid/view/MotionEvent;)Z", "GetDispatchGenericMotionEvent_Landroid_view_MotionEvent_Handler")]
public virtual bool DispatchGenericMotionEvent (Android.Views.MotionEvent? e);
[<Android.Runtime.Register("dispatchGenericMotionEvent", "(Landroid/view/MotionEvent;)Z", "GetDispatchGenericMotionEvent_Landroid_view_MotionEvent_Handler")>]
abstract member DispatchGenericMotionEvent : Android.Views.MotionEvent -> bool
override this.DispatchGenericMotionEvent : Android.Views.MotionEvent -> bool

매개 변수

e
MotionEvent

디스패치할 동작 이벤트입니다.

반환

이벤트가 뷰에서 처리된 경우 True, 그렇지 않으면 false입니다.

특성

설명

제네릭 모션 이벤트를 디스패치합니다.

소스 클래스 InputDevice#SOURCE_CLASS_POINTER 가 있는 제네릭 동작 이벤트는 포인터 아래의 보기로 전달됩니다. 다른 모든 일반 동작 이벤트는 포커스가 있는 보기로 전달됩니다. 가리키기 이벤트는 특별히 처리되고 먼저 전달 #onHoverEvent(MotionEvent) 됩니다.

에 대한 Java 설명서입니다 android.view.View.dispatchGenericMotionEvent(android.view.MotionEvent).

이 페이지의 일부는 만들고 공유하며 에 설명된 용어에 따라 사용되는 작업을 기반으로 수정됩니다.

적용 대상