Share via


BreakIterator.GetRuleStatusVec(Int32[]) Method

Definition

For RuleBasedBreakIterators, get the status (tag) values from the break rule(s) that determined the the boundary at the current iteration position.

[Android.Runtime.Register("getRuleStatusVec", "([I)I", "GetGetRuleStatusVec_arrayIHandler", ApiSince=24)]
public virtual int GetRuleStatusVec (int[]? fillInArray);
[<Android.Runtime.Register("getRuleStatusVec", "([I)I", "GetGetRuleStatusVec_arrayIHandler", ApiSince=24)>]
abstract member GetRuleStatusVec : int[] -> int
override this.GetRuleStatusVec : int[] -> int

Parameters

fillInArray
Int32[]

an array to be filled in with the status values.

Returns

The number of rule status values from rules that determined the the boundary at the current iteration position. In the event that the array is too small, the return value is the total number of status values that were available, not the reduced number that were actually returned.

Attributes

Remarks

For RuleBasedBreakIterators, get the status (tag) values from the break rule(s) that determined the the boundary at the current iteration position.

For break iterator types that do not support rule status, no values are returned.

If the size of the output array is insufficient to hold the data, the output will be truncated to the available length. No exception will be thrown.

Java documentation for android.icu.text.BreakIterator.getRuleStatusVec(int[]).

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