Share via


BidiFormatter.UnicodeWrap Method

Definition

Overloads

UnicodeWrap(String)

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

UnicodeWrap(String, ITextDirectionHeuristic)

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

UnicodeWrap(String, Boolean)

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

UnicodeWrap(String, ITextDirectionHeuristic, Boolean)

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

UnicodeWrap(String)

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

public string? UnicodeWrap (string? str);
member this.UnicodeWrap : string -> string

Parameters

str
String

The input CharSequence.

Returns

Input CharSequence after applying the above processing.

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

UnicodeWrap(String, ITextDirectionHeuristic)

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

public string? UnicodeWrap (string? str, Android.Text.ITextDirectionHeuristic? heuristic);
member this.UnicodeWrap : string * Android.Text.ITextDirectionHeuristic -> string

Parameters

str
String

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.

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

UnicodeWrap(String, Boolean)

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

public string? UnicodeWrap (string? str, bool isolate);
member this.UnicodeWrap : string * bool -> string

Parameters

str
String

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.

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

UnicodeWrap(String, ITextDirectionHeuristic, Boolean)

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

public string? UnicodeWrap (string? str, Android.Text.ITextDirectionHeuristic? heuristic, bool isolate);
member this.UnicodeWrap : string * Android.Text.ITextDirectionHeuristic * bool -> string

Parameters

str
String

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.

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