Share via


BidiFormatter.IsRtl Method

Definition

Overloads

IsRtl(ICharSequence)

Operates like #isRtl(String), but takes a CharSequence instead of a string

IsRtl(String)

Estimates the directionality of a string using the default text direction heuristic.

IsRtl(ICharSequence)

Operates like #isRtl(String), but takes a CharSequence instead of a string

[Android.Runtime.Register("isRtl", "(Ljava/lang/CharSequence;)Z", "", ApiSince=26)]
public bool IsRtl (Java.Lang.ICharSequence? str);
[<Android.Runtime.Register("isRtl", "(Ljava/lang/CharSequence;)Z", "", ApiSince=26)>]
member this.IsRtl : Java.Lang.ICharSequence -> bool

Parameters

str
ICharSequence

CharSequence whose directionality is to be estimated.

Returns

true if str's estimated overall directionality is RTL. Otherwise returns false.

Attributes

Remarks

Operates like #isRtl(String), but takes a CharSequence instead of a string

Java documentation for android.text.BidiFormatter.isRtl(java.lang.CharSequence).

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

IsRtl(String)

Estimates the directionality of a string using the default text direction heuristic.

[Android.Runtime.Register("isRtl", "(Ljava/lang/String;)Z", "")]
public bool IsRtl (string? str);
[<Android.Runtime.Register("isRtl", "(Ljava/lang/String;)Z", "")>]
member this.IsRtl : string -> bool

Parameters

str
String

String whose directionality is to be estimated.

Returns

true if str's estimated overall directionality is RTL. Otherwise returns false.

Attributes

Remarks

Estimates the directionality of a string using the default text direction heuristic.

Java documentation for android.text.BidiFormatter.isRtl(java.lang.String).

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