Share via


UCharacterIterator.Previous Method

Definition

Decrement to the position of the previous code unit in the text, and return it (pre-decrement semantics).

[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 previous code unit in the text, or DONE if the new index is before the start of the text.

Attributes

Remarks

Decrement to the position of the previous code unit in the text, and return it (pre-decrement semantics). If the resulting index is less than 0, the index is reset to 0 and DONE is returned.

Java documentation for android.icu.text.UCharacterIterator.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