Język

TextBoundsInfo.Builder.SetWordSegmentFinder(SegmentFinder) Method

Definition

Set the SegmentFinder that locates the word boundaries.

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

Parameters

wordSegmentFinder
SegmentFinder

set the SegmentFinder that locates the word boundaries. This value cannot be null.

Returns

Attributes

Remarks

Set the SegmentFinder that locates the word boundaries. Please note that only the word 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.setWordSegmentFinder.

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