Dialog.DispatchTrackballEvent(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 to process trackball events.
[Android.Runtime.Register("dispatchTrackballEvent", "(Landroid/view/MotionEvent;)Z", "GetDispatchTrackballEvent_Landroid_view_MotionEvent_Handler")]
public virtual bool DispatchTrackballEvent (Android.Views.MotionEvent ev);
[<Android.Runtime.Register("dispatchTrackballEvent", "(Landroid/view/MotionEvent;)Z", "GetDispatchTrackballEvent_Landroid_view_MotionEvent_Handler")>]
abstract member DispatchTrackballEvent : Android.Views.MotionEvent -> bool
override this.DispatchTrackballEvent : Android.Views.MotionEvent -> bool
Parameters
- ev
- MotionEvent
The trackball event.
Returns
boolean Return true if this event was consumed.
Implements
- Attributes
Remarks
Called to process trackball events. You can override this to intercept all trackball events before they are dispatched to the window. Be sure to call this implementation for trackball events that should be handled normally.
Java documentation for android.app.Dialog.dispatchTrackballEvent(android.view.MotionEvent)
.
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.