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

MotionEvent: 一般的なモーション イベント。

返品

boolean このイベントが使用された場合は true を返します。

実装

属性

注釈

汎用モーション イベントを処理するために呼び出されます。 これをオーバーライドして、すべての汎用モーション イベントをウィンドウにディスパッチする前にインターセプトできます。 通常どおりに処理する必要がある一般的なモーション イベントでは、必ずこの実装を呼び出してください。

関連項目も参照:

android.app.Activity.dispatchGenericMotionEventの Android リファレンス。

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象