Condividi tramite


EditorInfo.SupportedHandwritingGestures Property

Definition

Returns the combination of Stylus handwriting gesture types supported by the current Editor. -or- Set the Handwriting gestures supported by the current Editor.

public virtual System.Collections.Generic.IList<Java.Lang.Class> SupportedHandwritingGestures { [Android.Runtime.Register("getSupportedHandwritingGestures", "()Ljava/util/List;", "GetGetSupportedHandwritingGesturesHandler", ApiSince=34)] get; [Android.Runtime.Register("setSupportedHandwritingGestures", "(Ljava/util/List;)V", "GetSetSupportedHandwritingGestures_Ljava_util_List_Handler", ApiSince=34)] set; }
[<get: Android.Runtime.Register("getSupportedHandwritingGestures", "()Ljava/util/List;", "GetGetSupportedHandwritingGesturesHandler", ApiSince=34)>]
[<set: Android.Runtime.Register("setSupportedHandwritingGestures", "(Ljava/util/List;)V", "GetSetSupportedHandwritingGestures_Ljava_util_List_Handler", ApiSince=34)>]
member this.SupportedHandwritingGestures : System.Collections.Generic.IList<Java.Lang.Class> with get, set

Property Value

List of supported gesture classes including any of SelectGesture, InsertGesture, DeleteGesture.

Attributes

Remarks

Property getter documentation:

Returns the combination of Stylus handwriting gesture types supported by the current Editor. For an editor that supports Stylus Handwriting. InputMethodManager#startStylusHandwriting, it also declares supported gestures.

Java documentation for android.view.inputmethod.EditorInfo.getSupportedHandwritingGestures().

Property setter documentation:

Set the Handwriting gestures supported by the current Editor. For an editor that supports Stylus Handwriting InputMethodManager#startStylusHandwriting, it is also recommended that it declares supported gestures.

If editor doesn't support one of the declared types, IME will not send those Gestures to the editor. Instead they will fallback to using normal text input.

Note: A supported gesture may not have preview supported #getSupportedHandwritingGesturePreviews().

Java documentation for android.view.inputmethod.EditorInfo.setSupportedHandwritingGestures(java.util.List<java.lang.Class<? extends android.view.inputmethod.HandwritingGesture>>).

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