UCharacterIterator.PreviousCodePoint 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.
Retreat to the start of the previous code point in the text, and return it (pre-decrement semantics).
[Android.Runtime.Register("previousCodePoint", "()I", "GetPreviousCodePointHandler", ApiSince=24)]
public virtual int PreviousCodePoint ();
[<Android.Runtime.Register("previousCodePoint", "()I", "GetPreviousCodePointHandler", ApiSince=24)>]
abstract member PreviousCodePoint : unit -> int
override this.PreviousCodePoint : unit -> int
Returns
the previous code point in the text, or DONE if the new index is before the start of the text.
- Attributes
Remarks
Retreat to the start of the previous code point in the text, and return it (pre-decrement semantics). If the index is not preceded by a valid surrogate pair, the behavior is the same as previous()
. Otherwise the iterator is decremented to the start of the surrogate pair, and the code point represented by the pair is returned.
Java documentation for android.icu.text.UCharacterIterator.previousCodePoint()
.
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.