Share via


InputMethodService.FinishStylusHandwriting Method

Definition

Finish the current stylus handwriting session.

[Android.Runtime.Register("finishStylusHandwriting", "()V", "", ApiSince=33)]
public void FinishStylusHandwriting ();
[<Android.Runtime.Register("finishStylusHandwriting", "()V", "", ApiSince=33)>]
member this.FinishStylusHandwriting : unit -> unit
Attributes

Remarks

Finish the current stylus handwriting session.

This dismisses the #getStylusHandwritingWindow ink window and stops intercepting stylus MotionEvents.

Note for IME developers: Call this method at any time to finish current handwriting session. Generally, this should be invoked after a short timeout, giving the user enough time to start the next stylus stroke, if any. By default, system will time-out after few seconds. To override default timeout, use #setStylusHandwritingSessionTimeout(Duration).

Handwriting session will be finished by framework on next #onFinishInput().

Java documentation for android.inputmethodservice.InputMethodService.finishStylusHandwriting().

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