TextBoundsInfo.Builder.SetCharacterFlags(Int32[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Set the flags of the characters.
[Android.Runtime.Register("setCharacterFlags", "([I)Landroid/view/inputmethod/TextBoundsInfo$Builder;", "", ApiSince=34)]
public Android.Views.InputMethods.TextBoundsInfo.Builder SetCharacterFlags(int[] characterFlags);
[<Android.Runtime.Register("setCharacterFlags", "([I)Landroid/view/inputmethod/TextBoundsInfo$Builder;", "", ApiSince=34)>]
member this.SetCharacterFlags : int[] -> Android.Views.InputMethods.TextBoundsInfo.Builder
Parameters
- characterFlags
- Int32[]
the array of the character's flags. This value cannot be null.
Returns
This builder after the character flags are stored.
- Attributes
Remarks
Set the flags of the characters. The flags of the i-th character in the editor are stored at index (i - start). The length of the given array must equal (end - start). The flags indicate whitespace (CharacterWhitespace), linefeed (CharacterLinefeed), punctuation (CharacterPunctuation), and a right-to-left line (LineIsRtl). Cast the flag values to integers for this array. All characters in the same line must have the same line direction. See LineSegmentFinder for line boundaries.
Android reference for android.view.inputmethod.TextBoundsInfo.Builder.setCharacterFlags.
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.