Language

TextBoundsInfo.Builder.SetGraphemeSegmentFinder(SegmentFinder) Method

Definition

Set the SegmentFinder that locates the grapheme cluster boundaries.

[Android.Runtime.Register("setGraphemeSegmentFinder", "(Landroid/text/SegmentFinder;)Landroid/view/inputmethod/TextBoundsInfo$Builder;", "", ApiSince=34)]
public Android.Views.InputMethods.TextBoundsInfo.Builder SetGraphemeSegmentFinder(Android.Text.SegmentFinder graphemeSegmentFinder);
[<Android.Runtime.Register("setGraphemeSegmentFinder", "(Landroid/text/SegmentFinder;)Landroid/view/inputmethod/TextBoundsInfo$Builder;", "", ApiSince=34)>]
member this.SetGraphemeSegmentFinder : Android.Text.SegmentFinder -> Android.Views.InputMethods.TextBoundsInfo.Builder

Parameters

graphemeSegmentFinder
SegmentFinder

the SegmentFinder that locates the grapheme cluster boundaries. This value cannot be null.

Returns

Attributes

Remarks

Set the SegmentFinder that locates the grapheme cluster boundaries. Grapheme is defined in the unicode annex #29: unicode text segmentation. It's a user-perspective character. And it's usually the minimal unit for selection, backspace, deletion etc. Please note that only the grapheme segments within the range from start to end will be available to the IME. The remaining information will be discarded during serialization for better performance.

Android reference for android.view.inputmethod.TextBoundsInfo.Builder.setGraphemeSegmentFinder.

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