Freigeben über


Bidi.RequiresBidi(Char[], Int32, Int32) Method

Definition

Return true if the specified text requires bidi analysis.

[Android.Runtime.Register("requiresBidi", "([CII)Z", "", ApiSince=29)]
public static bool RequiresBidi (char[]? text, int start, int limit);
[<Android.Runtime.Register("requiresBidi", "([CII)Z", "", ApiSince=29)>]
static member RequiresBidi : char[] * int * int -> bool

Parameters

text
Char[]

the text containing the characters to test

start
Int32

the start of the range of characters to test

limit
Int32

the limit of the range of characters to test

Returns

true if the range of characters requires bidi analysis

Attributes

Remarks

Return true if the specified text requires bidi analysis. If this returns false, the text will display left-to-right. Clients can then avoid constructing a Bidi object. Text in the Arabic Presentation Forms area of Unicode is presumed to already be shaped and ordered for display, and so will not cause this method to return true.

Java documentation for android.icu.text.Bidi.requiresBidi(char[], int, int).

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