InputMethodService.StylusHandwritingWindow Property
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.
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 MotionEvent
s 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.