Activity.DispatchGenericMotionEvent(MotionEvent) 메서드

정의

제네릭 동작 이벤트를 처리하기 위해 호출됩니다.

[Android.Runtime.Register("dispatchGenericMotionEvent", "(Landroid/view/MotionEvent;)Z", "GetDispatchGenericMotionEvent_Landroid_view_MotionEvent_Handler")]
public virtual bool DispatchGenericMotionEvent (Android.Views.MotionEvent? ev);
[<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

매개 변수

ev
MotionEvent

제네릭 동작 이벤트입니다.

반환

이 이벤트가 사용된 경우 boolean Return true입니다.

구현

특성

설명

제네릭 동작 이벤트를 처리하기 위해 호출됩니다. 창에 디스패치되기 전에 모든 제네릭 동작 이벤트를 가로채도록 재정의할 수 있습니다. 정상적으로 처리해야 하는 제네릭 동작 이벤트에 대해 이 구현을 호출해야 합니다.

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

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

적용 대상