Taal

IInputMethodSession.DispatchTrackballEvent Method

Definition

This method is called when there is a track ball event.

[Android.Runtime.Register("dispatchTrackballEvent", "(ILandroid/view/MotionEvent;Landroid/view/inputmethod/InputMethodSession$EventCallback;)V", "GetDispatchTrackballEvent_ILandroid_view_MotionEvent_Landroid_view_inputmethod_InputMethodSession_EventCallback_Handler:Android.Views.InputMethods.IInputMethodSessionInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void DispatchTrackballEvent(int seq, Android.Views.MotionEvent? e, Android.Views.InputMethods.IInputMethodSessionEventCallback? callback);
[<Android.Runtime.Register("dispatchTrackballEvent", "(ILandroid/view/MotionEvent;Landroid/view/inputmethod/InputMethodSession$EventCallback;)V", "GetDispatchTrackballEvent_ILandroid_view_MotionEvent_Landroid_view_inputmethod_InputMethodSession_EventCallback_Handler:Android.Views.InputMethods.IInputMethodSessionInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member DispatchTrackballEvent : int * Android.Views.MotionEvent * Android.Views.InputMethods.IInputMethodSessionEventCallback -> unit

Parameters

seq
Int32

The sequence identifier used to match the event with its completion callback.

e
MotionEvent

The motion event.

callback
IInputMethodSessionEventCallback

The callback that receives the event's handled status after processing.

Attributes

Remarks

This method is called when there is a track ball event.

When callback is not null, report whether the input method handled the event through it. If the event is not handled, the caller can handle it.

Android reference for android.view.inputmethod.InputMethodSession.dispatchTrackballEvent.

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.

Applies to

See also