TvInteractiveAppService.Session.OnGenericMotionEvent(MotionEvent) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Implement this method to handle generic motion events on the current session.
[Android.Runtime.Register("onGenericMotionEvent", "(Landroid/view/MotionEvent;)Z", "GetOnGenericMotionEvent_Landroid_view_MotionEvent_Handler", ApiSince=33)]
public virtual bool OnGenericMotionEvent (Android.Views.MotionEvent e);
[<Android.Runtime.Register("onGenericMotionEvent", "(Landroid/view/MotionEvent;)Z", "GetOnGenericMotionEvent_Landroid_view_MotionEvent_Handler", ApiSince=33)>]
abstract member OnGenericMotionEvent : Android.Views.MotionEvent -> bool
override this.OnGenericMotionEvent : Android.Views.MotionEvent -> bool
Parameters
Returns
If you handled the event, return true
. If you want to allow the event to
be handled by the next receiver, return false
.
- Attributes
Remarks
Implement this method to handle generic motion events on the current session.
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.