Sdílet prostřednictvím


BidiFormatter.UnicodeWrapFormatted Method

Definition

Overloads

UnicodeWrapFormatted(ICharSequence)

Operates like #unicodeWrap(CharSequence, TextDirectionHeuristic, boolean), but uses the formatter's default direction estimation algorithm and assumes isolate is true.

UnicodeWrapFormatted(ICharSequence, ITextDirectionHeuristic)

Operates like #unicodeWrap(CharSequence, TextDirectionHeuristic, boolean), but assumes isolate is true.

UnicodeWrapFormatted(ICharSequence, Boolean)

Operates like #unicodeWrap(CharSequence, TextDirectionHeuristic, boolean), but uses the formatter's default direction estimation algorithm.

UnicodeWrapFormatted(ICharSequence, ITextDirectionHeuristic, Boolean)

Operates like #unicodeWrap(String, TextDirectionHeuristic, boolean), but takes a CharSequence instead of a string

UnicodeWrapFormatted(ICharSequence)

Operates like #unicodeWrap(CharSequence, TextDirectionHeuristic, boolean), but uses the formatter's default direction estimation algorithm and assumes isolate is true.

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

Parameters

str
ICharSequence

The input CharSequence.

Returns

Input CharSequence after applying the above processing.

Attributes

Remarks

Operates like #unicodeWrap(CharSequence, TextDirectionHeuristic, boolean), but uses the formatter's default direction estimation algorithm and assumes isolate is true.

Java documentation for android.text.BidiFormatter.unicodeWrap(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

UnicodeWrapFormatted(ICharSequence, ITextDirectionHeuristic)

Operates like #unicodeWrap(CharSequence, TextDirectionHeuristic, boolean), but assumes isolate is true.

[Android.Runtime.Register("unicodeWrap", "(Ljava/lang/CharSequence;Landroid/text/TextDirectionHeuristic;)Ljava/lang/CharSequence;", "", ApiSince=26)]
public Java.Lang.ICharSequence? UnicodeWrapFormatted (Java.Lang.ICharSequence? str, Android.Text.ITextDirectionHeuristic? heuristic);
[<Android.Runtime.Register("unicodeWrap", "(Ljava/lang/CharSequence;Landroid/text/TextDirectionHeuristic;)Ljava/lang/CharSequence;", "", ApiSince=26)>]
member this.UnicodeWrapFormatted : Java.Lang.ICharSequence * Android.Text.ITextDirectionHeuristic -> Java.Lang.ICharSequence

Parameters

str
ICharSequence

The input CharSequence.

heuristic
ITextDirectionHeuristic

The algorithm to be used to estimate the CharSequence's overall direction. See TextDirectionHeuristics for pre-defined heuristics.

Returns

Input CharSequence after applying the above processing.

Attributes

Remarks

Operates like #unicodeWrap(CharSequence, TextDirectionHeuristic, boolean), but assumes isolate is true.

Java documentation for android.text.BidiFormatter.unicodeWrap(java.lang.CharSequence, android.text.TextDirectionHeuristic).

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

UnicodeWrapFormatted(ICharSequence, Boolean)

Operates like #unicodeWrap(CharSequence, TextDirectionHeuristic, boolean), but uses the formatter's default direction estimation algorithm.

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

Parameters

str
ICharSequence

The input CharSequence.

isolate
Boolean

Whether to directionally isolate the CharSequence to prevent it from garbling the content around it

Returns

Input CharSequence after applying the above processing.

Attributes

Remarks

Operates like #unicodeWrap(CharSequence, TextDirectionHeuristic, boolean), but uses the formatter's default direction estimation algorithm.

Java documentation for android.text.BidiFormatter.unicodeWrap(java.lang.CharSequence, boolean).

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

UnicodeWrapFormatted(ICharSequence, ITextDirectionHeuristic, Boolean)

Operates like #unicodeWrap(String, TextDirectionHeuristic, boolean), but takes a CharSequence instead of a string

[Android.Runtime.Register("unicodeWrap", "(Ljava/lang/CharSequence;Landroid/text/TextDirectionHeuristic;Z)Ljava/lang/CharSequence;", "", ApiSince=26)]
public Java.Lang.ICharSequence? UnicodeWrapFormatted (Java.Lang.ICharSequence? str, Android.Text.ITextDirectionHeuristic? heuristic, bool isolate);
[<Android.Runtime.Register("unicodeWrap", "(Ljava/lang/CharSequence;Landroid/text/TextDirectionHeuristic;Z)Ljava/lang/CharSequence;", "", ApiSince=26)>]
member this.UnicodeWrapFormatted : Java.Lang.ICharSequence * Android.Text.ITextDirectionHeuristic * bool -> Java.Lang.ICharSequence

Parameters

str
ICharSequence

The input CharSequence.

heuristic
ITextDirectionHeuristic

The algorithm to be used to estimate the CharSequence's overall direction. See TextDirectionHeuristics for pre-defined heuristics.

isolate
Boolean

Whether to directionally isolate the CharSequence to prevent it from garbling the content around it

Returns

Input CharSequence after applying the above processing. null if str is null.

Attributes

Remarks

Operates like #unicodeWrap(String, TextDirectionHeuristic, boolean), but takes a CharSequence instead of a string

Java documentation for android.text.BidiFormatter.unicodeWrap(java.lang.CharSequence, android.text.TextDirectionHeuristic, boolean).

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