TvInputService.Session.OnGenericMotionEvent(MotionEvent) メソッド

定義

現在の入力セッションで汎用モーション イベントを処理するには、このメソッドを実装します。

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

パラメーター

戻り値

イベントを処理した場合は、 を返します true。 イベントを次の受信側で処理できるようにする場合は、 を返します false

属性

注釈

現在の入力セッションで汎用モーション イベントを処理するには、このメソッドを実装します。

の Java ドキュメント android.media.tv.TvInputService.Session.onGenericMotionEvent(android.view.MotionEvent)

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

適用対象