Bidi.ReorderVisual(Byte[]) 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.
This is a convenience method that does not use a Bidi
object.
[Android.Runtime.Register("reorderVisual", "([B)[I", "", ApiSince=29)]
public static int[]? ReorderVisual (byte[]? levels);
[<Android.Runtime.Register("reorderVisual", "([B)[I", "", ApiSince=29)>]
static member ReorderVisual : byte[] -> int[]
Parameters
- levels
- Byte[]
is an array of levels that have been determined by the application.
Returns
an array of levels.length
indexes which will reflect the reordering of the characters.<p>
The index map will result in
indexMap[visualIndex]==logicalIndex
, where
indexMap
represents the returned array.
- Attributes
Remarks
This is a convenience method that does not use a Bidi
object. It is intended to be used for when an application has determined the levels of objects (character sequences) and just needs to have them reordered (L2). This is equivalent to using getVisualMap()
on a Bidi
object.
Java documentation for android.icu.text.Bidi.reorderVisual(byte[])
.
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.