EditorInfo.SupportedHandwritingGesturePreviews Property

Definition

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

public virtual System.Collections.Generic.ICollection<Java.Lang.Class> SupportedHandwritingGesturePreviews { [Android.Runtime.Register("getSupportedHandwritingGesturePreviews", "()Ljava/util/Set;", "GetGetSupportedHandwritingGesturePreviewsHandler", ApiSince=34)] get; [Android.Runtime.Register("setSupportedHandwritingGesturePreviews", "(Ljava/util/Set;)V", "GetSetSupportedHandwritingGesturePreviews_Ljava_util_Set_Handler", ApiSince=34)] set; }
[<get: Android.Runtime.Register("getSupportedHandwritingGesturePreviews", "()Ljava/util/Set;", "GetGetSupportedHandwritingGesturePreviewsHandler", ApiSince=34)>]
[<set: Android.Runtime.Register("setSupportedHandwritingGesturePreviews", "(Ljava/util/Set;)V", "GetSetSupportedHandwritingGesturePreviews_Ljava_util_Set_Handler", ApiSince=34)>]
member this.SupportedHandwritingGesturePreviews : System.Collections.Generic.ICollection<Java.Lang.Class> with get, set

Property Value

Set of supported gesture preview classes. One of SelectGesture, SelectRangeGesture, DeleteGesture, DeleteRangeGesture.

Attributes

Remarks

Property getter documentation:

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

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

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

Property setter documentation:

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

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

If editor doesn't support one of the declared types, gesture preview will be ignored.

Java documentation for android.view.inputmethod.EditorInfo.setSupportedHandwritingGesturePreviews(java.util.Set<java.lang.Class<? extends android.view.inputmethod.PreviewableHandwritingGesture>>).

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