Bidi.CountRuns 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.
Get the number of runs.
[Android.Runtime.Register("countRuns", "()I", "GetCountRunsHandler", ApiSince=29)]
public virtual int CountRuns ();
[<Android.Runtime.Register("countRuns", "()I", "GetCountRunsHandler", ApiSince=29)>]
abstract member CountRuns : unit -> int
override this.CountRuns : unit -> int
Returns
The number of runs.
- Attributes
Remarks
Get the number of runs. This method may invoke the actual reordering on the Bidi
object, after setPara()
may have resolved only the levels of the text. Therefore, countRuns()
may have to allocate memory, and may throw an exception if it fails to do so.
Java documentation for android.icu.text.Bidi.countRuns()
.
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.