InputMethodService.OnStylusHandwritingMotionEvent(MotionEvent) Method

Definition

Called after #onStartStylusHandwriting() returns true for every Stylus MotionEvent.

[Android.Runtime.Register("onStylusHandwritingMotionEvent", "(Landroid/view/MotionEvent;)V", "GetOnStylusHandwritingMotionEvent_Landroid_view_MotionEvent_Handler", ApiSince=33)]
public virtual void OnStylusHandwritingMotionEvent (Android.Views.MotionEvent motionEvent);
[<Android.Runtime.Register("onStylusHandwritingMotionEvent", "(Landroid/view/MotionEvent;)V", "GetOnStylusHandwritingMotionEvent_Landroid_view_MotionEvent_Handler", ApiSince=33)>]
abstract member OnStylusHandwritingMotionEvent : Android.Views.MotionEvent -> unit
override this.OnStylusHandwritingMotionEvent : Android.Views.MotionEvent -> unit

Parameters

motionEvent
MotionEvent

MotionEvent from stylus.

Attributes

Remarks

Called after #onStartStylusHandwriting() returns true for every Stylus MotionEvent. By default, this method forwards all MotionEvents to the #getStylusHandwritingWindow() once its visible, however IME can override it to receive them sooner.

Java documentation for android.inputmethodservice.InputMethodService.onStylusHandwritingMotionEvent(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.

Applies to