다음을 통해 공유


UCharacterIterator.CurrentCodePoint Method

Definition

Returns the codepoint at the current index.

[Android.Runtime.Register("currentCodePoint", "()I", "GetCurrentCodePointHandler", ApiSince=24)]
public virtual int CurrentCodePoint ();
[<Android.Runtime.Register("currentCodePoint", "()I", "GetCurrentCodePointHandler", ApiSince=24)>]
abstract member CurrentCodePoint : unit -> int
override this.CurrentCodePoint : unit -> int

Returns

current codepoint

Attributes

Remarks

Returns the codepoint at the current index. If the current index is invalid, DONE is returned. If the current index points to a lead surrogate, and there is a following trail surrogate, then the code point is returned. Otherwise, the code unit at index is returned. Index is not changed.

Java documentation for android.icu.text.UCharacterIterator.currentCodePoint().

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