Język

DeleteRangeGesture.Builder.SetGranularity Method

Definition

Define text deletion granularity.

[Android.Runtime.Register("setGranularity", "(I)Landroid/view/inputmethod/DeleteRangeGesture$Builder;", "", ApiSince=34)]
public Android.Views.InputMethods.DeleteRangeGesture.Builder SetGranularity(Android.Views.InputMethods.HandwritingGestureGranularity granularity);
[<Android.Runtime.Register("setGranularity", "(I)Landroid/view/inputmethod/DeleteRangeGesture$Builder;", "", ApiSince=34)>]
member this.SetGranularity : Android.Views.InputMethods.HandwritingGestureGranularity -> Android.Views.InputMethods.DeleteRangeGesture.Builder

Parameters

granularity
HandwritingGestureGranularity

HandwritingGesture.GRANULARITY_WORD or HandwritingGesture.GRANULARITY_CHARACTER. Value is one of the following: HandwritingGesture.GRANULARITY_CHARACTER; HandwritingGesture.GRANULARITY_WORD

Returns

Builder. This value cannot be null.

Attributes

Remarks

Define text deletion granularity. Intersecting words/characters will be included in the operation.

Android reference for android.view.inputmethod.DeleteRangeGesture.Builder.setGranularity.

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