Partager via


BreakIterator.Previous Method

Definition

Move the iterator backward one boundary.

[Android.Runtime.Register("previous", "()I", "GetPreviousHandler", ApiSince=24)]
public abstract int Previous ();
[<Android.Runtime.Register("previous", "()I", "GetPreviousHandler", ApiSince=24)>]
abstract member Previous : unit -> int

Returns

The position of the last boundary position preceding the iteration position.

Attributes

Remarks

Move the iterator backward one boundary. The current iteration position is updated to point to the last boundary position before the current position, and this is also the value that is returned. If the current position is equal to the value returned by first(), or to DONE, this function returns DONE and sets the current position to DONE.

Java documentation for android.icu.text.BreakIterator.previous().

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