View.IOnGenericMotionListener.OnGenericMotion(View, 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.
Called when a generic motion event is dispatched to a view.
[Android.Runtime.Register("onGenericMotion", "(Landroid/view/View;Landroid/view/MotionEvent;)Z", "GetOnGenericMotion_Landroid_view_View_Landroid_view_MotionEvent_Handler:Android.Views.View/IOnGenericMotionListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public bool OnGenericMotion (Android.Views.View? v, Android.Views.MotionEvent? e);
[<Android.Runtime.Register("onGenericMotion", "(Landroid/view/View;Landroid/view/MotionEvent;)Z", "GetOnGenericMotion_Landroid_view_View_Landroid_view_MotionEvent_Handler:Android.Views.View/IOnGenericMotionListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member OnGenericMotion : Android.Views.View * Android.Views.MotionEvent -> bool
Parameters
- v
- View
The view the generic motion event has been dispatched to.
The MotionEvent object containing full information about the event.
Returns
- Attributes
Remarks
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.