InputMethodService.OnStartStylusHandwriting Method      
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.
Called when an app requests stylus handwriting
InputMethodManager#startStylusHandwriting(View).
[Android.Runtime.Register("onStartStylusHandwriting", "()Z", "GetOnStartStylusHandwritingHandler", ApiSince=33)]
public virtual bool OnStartStylusHandwriting();[<Android.Runtime.Register("onStartStylusHandwriting", "()Z", "GetOnStartStylusHandwritingHandler", ApiSince=33)>]
abstract member OnStartStylusHandwriting : unit -> bool
override this.OnStartStylusHandwriting : unit -> boolReturns
true if IME can honor the request, false if IME cannot at this time.
- Attributes
Remarks
Called when an app requests stylus handwriting InputMethodManager#startStylusHandwriting(View).
This will always be preceded by #onStartInput(EditorInfo, boolean) for the EditorInfo and InputConnection for which stylus handwriting is being requested.
If the IME supports handwriting for the current input, it should return true, ensure its inking views are attached to the #getStylusHandwritingWindow(), and handle stylus input received from #onStylusHandwritingMotionEvent(MotionEvent) on the #getStylusHandwritingWindow() via #getCurrentInputConnection().
Java documentation for android.inputmethodservice.InputMethodService.onStartStylusHandwriting().
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.