InputMethodService.StylusHandwritingWindow Property

Definition

Returns the stylus handwriting inking window.

public Android.Views.Window? StylusHandwritingWindow { [Android.Runtime.Register("getStylusHandwritingWindow", "()Landroid/view/Window;", "", ApiSince=33)] get; }
[<get: Android.Runtime.Register("getStylusHandwritingWindow", "()Landroid/view/Window;", "", ApiSince=33)>]
member this.StylusHandwritingWindow : Android.Views.Window

Property Value

Attributes

Remarks

Returns the stylus handwriting inking window. IMEs supporting stylus input are expected to attach their inking views to this window (e.g. with Window#setContentView(View) )). Handwriting-related MotionEvents are dispatched to the attached view hierarchy.

Note: This returns null if IME doesn't support stylus handwriting i.e. if InputMethodInfo#supportsStylusHandwriting() is false. This method should be called after #onStartStylusHandwriting().

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

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