InputConnectionWrapper.PreviewHandwritingGesture 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.
Preview a handwriting gesture on text.
[Android.Runtime.Register("previewHandwritingGesture", "(Landroid/view/inputmethod/PreviewableHandwritingGesture;Landroid/os/CancellationSignal;)Z", "GetPreviewHandwritingGesture_Landroid_view_inputmethod_PreviewableHandwritingGesture_Landroid_os_CancellationSignal_Handler", ApiSince=34)]
public virtual bool PreviewHandwritingGesture(Android.Views.InputMethods.PreviewableHandwritingGesture gesture, Android.OS.CancellationSignal? cancellationSignal);
[<Android.Runtime.Register("previewHandwritingGesture", "(Landroid/view/inputmethod/PreviewableHandwritingGesture;Landroid/os/CancellationSignal;)Z", "GetPreviewHandwritingGesture_Landroid_view_inputmethod_PreviewableHandwritingGesture_Landroid_os_CancellationSignal_Handler", ApiSince=34)>]
abstract member PreviewHandwritingGesture : Android.Views.InputMethods.PreviewableHandwritingGesture * Android.OS.CancellationSignal -> bool
override this.PreviewHandwritingGesture : Android.Views.InputMethods.PreviewableHandwritingGesture * Android.OS.CancellationSignal -> bool
Parameters
- gesture
- PreviewableHandwritingGesture
- cancellationSignal
- CancellationSignal
Returns
true on successfully sending command to Editor, false if not implemented by editor or the input connection is no longer valid or preview was cancelled with CancellationSignal.
Implements
- Attributes
Remarks
Preview a handwriting gesture on text. Provides a real-time preview for a gesture to user for an ongoing gesture. e.g. as user begins to draw a circle around text, resulting selection SelectGesture is previewed while stylus is moving over applicable text.
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.